Commit 4c67ed87 authored by Michael Niedermayer's avatar Michael Niedermayer

avcodec/hevc: fix EOB/EOS check

Fixes: CID1108575
Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent 9c0fe487
......@@ -2700,7 +2700,7 @@ static int decode_nal_units(HEVCContext *s, const uint8_t *buf, int length)
goto fail;
hls_nal_unit(s);
if (s->nal_unit_type == NAL_EOS_NUT || s->nal_unit_type == NAL_EOS_NUT)
if (s->nal_unit_type == NAL_EOS_NUT || s->nal_unit_type == NAL_EOB_NUT)
s->eos = 1;
buf += consumed;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment