diff options
author | Dirk Farin <dirk.farin@gmail.com> | 2013-10-17 10:14:51 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2013-10-17 10:18:28 +0200 |
commit | 56cf6151ae9f4304d10bbe36930d0eceef59fca2 (patch) | |
tree | 20449baf82b39df62237943a3419d9224d3c0f90 /libavformat/hevcdec.c | |
parent | 2ac31773f3fc13e65147e335ace4cefa58599252 (diff) | |
download | ffmpeg-56cf6151ae9f4304d10bbe36930d0eceef59fca2.tar.gz |
avformat/hevcdec: add more irap cases to hevc_probe()
This fixes fate-hevc-conformance-RAP_A_docomo_4
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavformat/hevcdec.c')
-rw-r--r-- | libavformat/hevcdec.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/libavformat/hevcdec.c b/libavformat/hevcdec.c index c187652765..88abcc6ab2 100644 --- a/libavformat/hevcdec.c +++ b/libavformat/hevcdec.c @@ -46,8 +46,12 @@ static int hevc_probe(AVProbeData *p) case NAL_VPS: vps++; break; case NAL_SPS: sps++; break; case NAL_PPS: pps++; break; - case 19: - case 20: irap++; break; + case NAL_BLA_N_LP: + case NAL_BLA_W_LP: + case NAL_BLA_W_RADL: + case NAL_CRA_NUT: + case NAL_IDR_N_LP: + case NAL_IDR_W_RADL: irap++; break; } } } |