[vlc-devel] commit: Uninitialized value ( Rémi Denis-Courmont )
git version control
git at videolan.org
Wed Feb 24 20:20:43 CET 2010
vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Wed Feb 24 21:20:32 2010 +0200| [9e36c6f4da525cdf1fcba3fbe3421a5a0e958ab6] | committer: Rémi Denis-Courmont
Uninitialized value
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=9e36c6f4da525cdf1fcba3fbe3421a5a0e958ab6
---
modules/demux/playlist/shoutcast.c | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/modules/demux/playlist/shoutcast.c b/modules/demux/playlist/shoutcast.c
index dcaa055..e33b463 100644
--- a/modules/demux/playlist/shoutcast.c
+++ b/modules/demux/playlist/shoutcast.c
@@ -84,6 +84,7 @@ static int Demux( demux_t *p_demux )
char *psz_eltname = NULL;
int i_ret = -1;
input_item_t *p_current_input = GetCurrentItem(p_demux);
+ input_item_node_t *p_input_node = NULL;
p_xml = xml_Create( p_demux );
if( !p_xml )
@@ -110,7 +111,7 @@ static int Demux( demux_t *p_demux )
goto error;
}
- input_item_node_t *p_input_node = input_item_node_Create( p_current_input );
+ p_input_node = input_item_node_Create( p_current_input );
if( !strcmp( psz_eltname, "genrelist" ) )
{
@@ -122,7 +123,7 @@ static int Demux( demux_t *p_demux )
{
/* we're reading a station list */
if( DemuxStation( p_demux, p_xml_reader, p_input_node,
- var_CreateGetBool( p_demux, "shoutcast-show-adult" ) ) )
+ var_InheritBool( p_demux, "shoutcast-show-adult" ) ) )
goto error;
}
More information about the vlc-devel
mailing list