mpegts: Add jpeg2000 stream type
authorJohn Högberg <john.hogberg@ericsson.com>
Mon, 29 Jun 2015 12:57:20 +0000 (14:57 +0200)
committerLuca Barbato <lu_zero@gentoo.org>
Tue, 30 Jun 2015 08:08:16 +0000 (10:08 +0200)
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
libavformat/mpegts.c

index 8f61f17..f96d9f0 100644 (file)
@@ -583,6 +583,7 @@ static const StreamType ISO_types[] = {
     { 0x10, AVMEDIA_TYPE_VIDEO, AV_CODEC_ID_MPEG4      },
     { 0x11, AVMEDIA_TYPE_AUDIO, AV_CODEC_ID_AAC_LATM   }, /* LATM syntax */
     { 0x1b, AVMEDIA_TYPE_VIDEO, AV_CODEC_ID_H264       },
+    { 0x21, AVMEDIA_TYPE_VIDEO, AV_CODEC_ID_JPEG2000   },
     { 0x24, AVMEDIA_TYPE_VIDEO, AV_CODEC_ID_HEVC       },
     { 0x42, AVMEDIA_TYPE_VIDEO, AV_CODEC_ID_CAVS       },
     { 0xd1, AVMEDIA_TYPE_VIDEO, AV_CODEC_ID_DIRAC      },