mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-17 11:45:25 +00:00
mpegdemux: Fix c99-ism
This commit is contained in:
parent
04c44d18c9
commit
edd1f791ca
1 changed files with 2 additions and 1 deletions
|
@ -946,11 +946,12 @@ gst_mpegts_demux_send_tags_for_stream (GstMpegTSDemux * demux,
|
|||
GstMpegTSStream * stream)
|
||||
{
|
||||
GstTagList *list = NULL;
|
||||
gint i;
|
||||
|
||||
if (stream->ES_info) {
|
||||
static const guint8 lang_descs[] =
|
||||
{ DESC_ISO_639_LANGUAGE, DESC_DVB_SUBTITLING };
|
||||
for (gint i = 0; i < G_N_ELEMENTS (lang_descs); i++) {
|
||||
for (i = 0; i < G_N_ELEMENTS (lang_descs); i++) {
|
||||
guint8 *iso639_languages =
|
||||
gst_mpeg_descriptor_find (stream->ES_info, lang_descs[i]);
|
||||
if (iso639_languages) {
|
||||
|
|
Loading…
Reference in a new issue