Originally committed as revision 6576 to svn://svn.ffmpeg.org/ffmpeg/trunk
pull/126/head
Michael Niedermayer 18 years ago
parent d4165a8190
commit 2ae7569dc8
  1. 2
      libavcodec/cabac.h

@ -256,7 +256,7 @@ static void put_cabac_ueg(CABACContext *c, uint8_t * state, int v, int max, int
static void refill(CABACContext *c){ static void refill(CABACContext *c){
if(c->bytestream <= c->bytestream_end) if(c->bytestream <= c->bytestream_end)
#if CABAC_BITS == 16 #if CABAC_BITS == 16
c->low+= ((c->bytestream[0]<<9) + (c->bytestream[1])<<1); c->low+= (c->bytestream[0]<<9) + (c->bytestream[1]<<1);
#else #else
c->low+= c->bytestream[0]<<1; c->low+= c->bytestream[0]<<1;
#endif #endif

Loading…
Cancel
Save