diff options
author | Mickaƫl Raulet <mraulet@insa-rennes.fr> | 2013-10-20 22:40:39 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2013-10-21 10:48:24 +0200 |
commit | 09ba986cae148f309683bc6588ab54050fe4130d (patch) | |
tree | f40b0f956930d810b19350a8da23cc0442235210 | |
parent | 712eff49789a022e2fb7b6f6b0768bd1745cfffb (diff) | |
download | ffmpeg-09ba986cae148f309683bc6588ab54050fe4130d.tar.gz |
avcodec/hevc: fix duplicate/wrong nal unit check and difference to openhevc_upstream
NAL_BLA_W_RADL instead of NAL_BLA_N_LP
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-rw-r--r-- | libavcodec/hevc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/hevc.c b/libavcodec/hevc.c index eb44862a2c..a1e3ce413f 100644 --- a/libavcodec/hevc.c +++ b/libavcodec/hevc.c @@ -1932,7 +1932,7 @@ static int decode_nal_unit(HEVCContext *s, const uint8_t *nal, int length) if (s->nal_unit_type == NAL_CRA_NUT || s->nal_unit_type == NAL_BLA_W_LP || s->nal_unit_type == NAL_BLA_N_LP || - s->nal_unit_type == NAL_BLA_N_LP) { + s->nal_unit_type == NAL_BLA_W_RADL) { s->max_ra = s->poc; } else { if (IS_IDR(s)) |