From 6d1feb028f5e245477da71848e702388dca91ce0 Mon Sep 17 00:00:00 2001 From: Loren Merritt Date: Sun, 29 May 2005 18:18:13 +0000 Subject: [PATCH] decode h264 end-of-slice flag Originally committed as revision 4316 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavcodec/cabac.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/cabac.h b/libavcodec/cabac.h index cc03eba960..15ec88d925 100644 --- a/libavcodec/cabac.h +++ b/libavcodec/cabac.h @@ -254,7 +254,7 @@ static inline void put_cabac_ueg(CABACContext *c, uint8_t * state, int v, int ma } static void refill(CABACContext *c){ - if(c->bytestream < c->bytestream_end) + if(c->bytestream <= c->bytestream_end) #if CABAC_BITS == 16 c->low+= ((c->bytestream[0]<<9) + (c->bytestream[1])<<1); #else -- GitLab