Mercurial > libavcodec.hg
diff cabac.h @ 3967:01e1a12aa380 libavcodec
remove bytestream_end checks, seems to work fine without them and the bitstream reader doesnt check for the end either
author | michael |
---|---|
date | Mon, 09 Oct 2006 12:25:24 +0000 |
parents | 162bea01a5d4 |
children | fc6e0942353b |
line wrap: on
line diff
--- a/cabac.h Mon Oct 09 11:36:42 2006 +0000 +++ b/cabac.h Mon Oct 09 12:25:24 2006 +0000 @@ -256,7 +256,6 @@ } 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 @@ x= -CABAC_MASK; - if(c->bytestream <= c->bytestream_end) #if CABAC_BITS == 16 x+= (c->bytestream[0]<<9) + (c->bytestream[1]<<1); #else