diff options
author | Ståle Kristoffersen <staalebk@ifi.uio.no> | 2014-01-31 19:05:08 +0100 |
---|---|---|
committer | Carl Eugen Hoyos <cehoyos@ag.or.at> | 2014-01-31 19:05:08 +0100 |
commit | 16097efb8caa808d8e9130415e55e3be35eb1c3c (patch) | |
tree | 67243e44f26d5bb779c5abc219600c7d5896514a /libavformat | |
parent | 0de9d72b7c000f8abdee8b3a90b13896fff41147 (diff) |
Auto-detect hevc in mpeg-ts.
Fixes decoding of files without PMT/PAT.
Signed-off-by: Carl Eugen Hoyos <cehoyos@ag.or.at>
Diffstat (limited to 'libavformat')
-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 30e1463368..932b6ad9f8 100644 --- a/libavformat/utils.c +++ b/libavformat/utils.c @@ -301,6 +301,7 @@ static int set_codec_from_probe_data(AVFormatContext *s, AVStream *st, { "dts", AV_CODEC_ID_DTS, AVMEDIA_TYPE_AUDIO }, { "eac3", AV_CODEC_ID_EAC3, AVMEDIA_TYPE_AUDIO }, { "h264", AV_CODEC_ID_H264, AVMEDIA_TYPE_VIDEO }, + { "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 }, { "mp3", AV_CODEC_ID_MP3, AVMEDIA_TYPE_AUDIO }, |