mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-05 00:50:21 +00:00
mpegtsdemux: Fix bogus uninitialised variable access
Typo in the previous commit
This commit is contained in:
parent
f3a9f52536
commit
db7d1a7eeb
1 changed files with 1 additions and 2 deletions
|
@ -831,12 +831,11 @@ gst_mpegts_demux_send_tags_for_stream (GstMpegTSDemux * demux,
|
|||
if (stream->ES_info) {
|
||||
guint8 *iso639_languages =
|
||||
gst_mpeg_descriptor_find (stream->ES_info, DESC_ISO_639_LANGUAGE);
|
||||
gint i;
|
||||
if (iso639_languages) {
|
||||
if (DESC_ISO_639_LANGUAGE_codes_n (iso639_languages)) {
|
||||
gchar lang_code[4];
|
||||
gchar *language_n = (gchar *)
|
||||
DESC_ISO_639_LANGUAGE_language_code_nth (iso639_languages, i);
|
||||
DESC_ISO_639_LANGUAGE_language_code_nth (iso639_languages, 0);
|
||||
lang_code[0] = language_n[0];
|
||||
lang_code[1] = language_n[1];
|
||||
lang_code[2] = language_n[2];
|
||||
|
|
Loading…
Reference in a new issue