lavf/mpegts: Support demuxing AVS2.
authorhwrenx <hwrenx@126.com>
Wed, 18 Sep 2019 00:18:13 +0000 (02:18 +0200)
committerCarl Eugen Hoyos <ceffmpeg@gmail.com>
Wed, 18 Sep 2019 00:18:13 +0000 (02:18 +0200)
libavformat/mpegts.c

index 0415cee..63ac071 100644 (file)
@@ -803,6 +803,7 @@ static const StreamType ISO_types[] = {
     { 0x24, AVMEDIA_TYPE_VIDEO, AV_CODEC_ID_HEVC       },
     { 0x42, AVMEDIA_TYPE_VIDEO, AV_CODEC_ID_CAVS       },
     { 0xd1, AVMEDIA_TYPE_VIDEO, AV_CODEC_ID_DIRAC      },
+    { 0xd2, AVMEDIA_TYPE_VIDEO, AV_CODEC_ID_AVS2       },
     { 0xea, AVMEDIA_TYPE_VIDEO, AV_CODEC_ID_VC1        },
     { 0 },
 };