summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2013-10-20 00:23:48 +0200
committerMichael Niedermayer <michaelni@gmx.at>2013-10-20 00:23:48 +0200
commit4c67ed87050317e21466d115c118fae61df04c25 (patch)
tree34dc2a0b20862597779506f3067a05d640d37081
parent9c0fe487c755c19da48f4cc76aba1ac0931b5863 (diff)
avcodec/hevc: fix EOB/EOS check
Fixes: CID1108575 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-rw-r--r--libavcodec/hevc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/hevc.c b/libavcodec/hevc.c
index 056018f38c..9ea42a0a6f 100644
--- a/libavcodec/hevc.c
+++ b/libavcodec/hevc.c
@@ -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;