Commit 8c309f11 authored by michael's avatar michael

remove bytestream_end checks, seems to work fine without them and the...

remove bytestream_end checks, seems to work fine without them and the bitstream reader doesnt check for the end either


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@6599 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 07a52af2
......@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment