mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-25 01:30:38 +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");
|
||||
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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue