mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-26 02:00:33 +00:00
mpegdemux: Fix unitialized variable compiler warning
This commit is contained in:
parent
cf1fbba759
commit
5e6783f5af
1 changed files with 3 additions and 1 deletions
|
@ -696,7 +696,7 @@ gst_flups_demux_handle_dvd_event (GstFluPSDemux * demux, GstEvent * event)
|
||||||
const char *type = gst_structure_get_string (structure, "event");
|
const char *type = gst_structure_get_string (structure, "event");
|
||||||
gint i;
|
gint i;
|
||||||
gchar cur_stream_name[32];
|
gchar cur_stream_name[32];
|
||||||
GstFluPSStream *temp;
|
GstFluPSStream *temp = NULL;
|
||||||
const gchar *lang_code;
|
const gchar *lang_code;
|
||||||
|
|
||||||
if (strcmp (type, "dvd-lang-codes") == 0) {
|
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,
|
GST_WARNING_OBJECT (demux,
|
||||||
"Unknown audio stream format in language code event: %d",
|
"Unknown audio stream format in language code event: %d",
|
||||||
stream_format);
|
stream_format);
|
||||||
|
temp = NULL;
|
||||||
|
continue;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue