diff options
author | David Schleef <ds@schleef.org> | 2010-12-30 19:21:21 -0800 |
---|---|---|
committer | David Schleef <ds@schleef.org> | 2010-12-30 19:25:46 -0800 |
commit | edd1f791ca4e4526e10c6458d4d19a1fc3173a89 (patch) | |
tree | 93fc1d6e654938909f7ec9631039621c4d7a031c | |
parent | 04c44d18c9b480ad8cffff2dbe1f78ad3d478b96 (diff) |
mpegdemux: Fix c99-ism
-rw-r--r-- | gst/mpegdemux/gstmpegtsdemux.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gst/mpegdemux/gstmpegtsdemux.c b/gst/mpegdemux/gstmpegtsdemux.c index 166a246c6..4f116e4d5 100644 --- a/gst/mpegdemux/gstmpegtsdemux.c +++ b/gst/mpegdemux/gstmpegtsdemux.c | |||
@@ -946,11 +946,12 @@ gst_mpegts_demux_send_tags_for_stream (GstMpegTSDemux * demux, | |||
946 | GstMpegTSStream * stream) | 946 | GstMpegTSStream * stream) |
947 | { | 947 | { |
948 | GstTagList *list = NULL; | 948 | GstTagList *list = NULL; |
949 | gint i; | ||
949 | 950 | ||
950 | if (stream->ES_info) { | 951 | if (stream->ES_info) { |
951 | static const guint8 lang_descs[] = | 952 | static const guint8 lang_descs[] = |
952 | { DESC_ISO_639_LANGUAGE, DESC_DVB_SUBTITLING }; | 953 | { DESC_ISO_639_LANGUAGE, DESC_DVB_SUBTITLING }; |
953 | for (gint i = 0; i < G_N_ELEMENTS (lang_descs); i++) { | 954 | for (i = 0; i < G_N_ELEMENTS (lang_descs); i++) { |
954 | guint8 *iso639_languages = | 955 | guint8 *iso639_languages = |
955 | gst_mpeg_descriptor_find (stream->ES_info, lang_descs[i]); | 956 | gst_mpeg_descriptor_find (stream->ES_info, lang_descs[i]); |
956 | if (iso639_languages) { | 957 | if (iso639_languages) { |