diff options
author | Ståle Kristoffersen <staalebk@ifi.uio.no> | 2016-10-11 15:36:40 +0200 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2016-12-17 23:52:25 +0100 |
commit | d8b9bef1a06e3592122613391d951bdbb4c74d46 (patch) | |
tree | 96064b3b956b0cbdfbff40a99cf98fed391276cb /libavformat/utils.c | |
parent | 295601bba3023b14264fcfee64e7a386cd7753cd (diff) | |
download | ffmpeg-d8b9bef1a06e3592122613391d951bdbb4c74d46.tar.gz |
avformat: Auto-detect mjpeg 2000 in mpeg-ts
This makes it possible to decode motion jpeg 2000
encoded in a transport stream without a correct PMT/PAT.
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'libavformat/utils.c')
-rw-r--r-- | libavformat/utils.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libavformat/utils.c b/libavformat/utils.c index 897352924d..50a30f6942 100644 --- a/libavformat/utils.c +++ b/libavformat/utils.c @@ -328,6 +328,7 @@ static int set_codec_from_probe_data(AVFormatContext *s, AVStream *st, { "hevc", AV_CODEC_ID_HEVC, AVMEDIA_TYPE_VIDEO }, { "loas", AV_CODEC_ID_AAC_LATM, AVMEDIA_TYPE_AUDIO }, { "m4v", AV_CODEC_ID_MPEG4, AVMEDIA_TYPE_VIDEO }, + { "mjpeg_2000",AV_CODEC_ID_JPEG2000, AVMEDIA_TYPE_VIDEO }, { "mp3", AV_CODEC_ID_MP3, AVMEDIA_TYPE_AUDIO }, { "mpegvideo", AV_CODEC_ID_MPEG2VIDEO, AVMEDIA_TYPE_VIDEO }, { "truehd", AV_CODEC_ID_TRUEHD, AVMEDIA_TYPE_AUDIO }, |