add 0-termination in table, patch by Wolfram Gloger, wmglo at dent dot med dot uni...
authorWolfram Gloger <wmglo@dent.med.uni-muenchen.de>
Sat, 20 Jun 2009 06:09:30 +0000 (06:09 +0000)
committerBaptiste Coudurier <baptiste.coudurier@gmail.com>
Sat, 20 Jun 2009 06:09:30 +0000 (06:09 +0000)
Originally committed as revision 19229 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavformat/mpegts.c

index 031c460..921ddd5 100644 (file)
@@ -528,6 +528,7 @@ static const StreamType DESC_types[] = {
     { 0x7a, CODEC_TYPE_AUDIO,            CODEC_ID_EAC3 }, /* E-AC-3 descriptor */
     { 0x7b, CODEC_TYPE_AUDIO,             CODEC_ID_DTS },
     { 0x59, CODEC_TYPE_SUBTITLE, CODEC_ID_DVB_SUBTITLE }, /* subtitling descriptor */
+    { 0 },
 };
 
 static void mpegts_find_stream_type(AVStream *st,