diff options
Diffstat (limited to 'src/libffmpeg/libavcodec/cabac.h')
| -rw-r--r-- | src/libffmpeg/libavcodec/cabac.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libffmpeg/libavcodec/cabac.h b/src/libffmpeg/libavcodec/cabac.h index cc03eba96..15ec88d92 100644 --- a/src/libffmpeg/libavcodec/cabac.h +++ b/src/libffmpeg/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 |
