diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2006-10-09 12:25:24 +0000 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2006-10-09 12:25:24 +0000 |
commit | 5bbe2a5292611ee157ca8333d5c7b2d11882f53c (patch) | |
tree | ff585156713ac786b9a9ce827f0700ae4b06874f /libavcodec/cabac.h | |
parent | 462209fe10b0bdcc25b21239cdabad7c0c74cfd4 (diff) | |
download | ffmpeg-streaming-5bbe2a5292611ee157ca8333d5c7b2d11882f53c.zip ffmpeg-streaming-5bbe2a5292611ee157ca8333d5c7b2d11882f53c.tar.gz |
remove bytestream_end checks, seems to work fine without them and the bitstream reader doesnt check for the end either
Originally committed as revision 6599 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/cabac.h')
-rw-r--r-- | libavcodec/cabac.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/libavcodec/cabac.h b/libavcodec/cabac.h index ff3994d..507a29b 100644 --- a/libavcodec/cabac.h +++ b/libavcodec/cabac.h @@ -256,7 +256,6 @@ static void put_cabac_ueg(CABACContext *c, uint8_t * state, int v, int max, int } static void refill(CABACContext *c){ - if(c->bytestream <= c->bytestream_end) #if CABAC_BITS == 16 c->low+= (c->bytestream[0]<<9) + (c->bytestream[1]<<1); #else @@ -274,7 +273,6 @@ static void refill2(CABACContext *c){ x= -CABAC_MASK; - if(c->bytestream <= c->bytestream_end) #if CABAC_BITS == 16 x+= (c->bytestream[0]<<9) + (c->bytestream[1]<<1); #else |