From 5e6783f5af027380ca2e0043f328c7b1fe26ba72 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Sebastian=20Dr=C3=B6ge?= Date: Tue, 16 Oct 2012 11:38:08 +0200 Subject: [PATCH] mpegdemux: Fix unitialized variable compiler warning --- gst/mpegdemux/gstmpegdemux.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/gst/mpegdemux/gstmpegdemux.c b/gst/mpegdemux/gstmpegdemux.c index b3b2284..392d424 100644 --- a/gst/mpegdemux/gstmpegdemux.c +++ b/gst/mpegdemux/gstmpegdemux.c @@ -696,7 +696,7 @@ gst_flups_demux_handle_dvd_event (GstFluPSDemux * demux, GstEvent * event) const char *type = gst_structure_get_string (structure, "event"); gint i; gchar cur_stream_name[32]; - GstFluPSStream *temp; + GstFluPSStream *temp = NULL; const gchar *lang_code; if (strcmp (type, "dvd-lang-codes") == 0) { @@ -752,6 +752,8 @@ gst_flups_demux_handle_dvd_event (GstFluPSDemux * demux, GstEvent * event) GST_WARNING_OBJECT (demux, "Unknown audio stream format in language code event: %d", stream_format); + temp = NULL; + continue; break; } -- 2.7.4