[FFmpeg-cvslog] avcodec/hevc: fix EOB/EOS check

Michael Niedermayer git at videolan.org
Sun Oct 20 01:15:11 CEST 2013


ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Sun Oct 20 00:23:48 2013 +0200| [4c67ed87050317e21466d115c118fae61df04c25] | committer: Michael Niedermayer

avcodec/hevc: fix EOB/EOS check

Fixes: CID1108575
Signed-off-by: Michael Niedermayer <michaelni at gmx.at>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=4c67ed87050317e21466d115c118fae61df04c25
---

 libavcodec/hevc.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavcodec/hevc.c b/libavcodec/hevc.c
index 056018f..9ea42a0 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;



More information about the ffmpeg-cvslog mailing list