Browse Source

decode h264 end-of-slice flag

Originally committed as revision 4316 to svn://svn.ffmpeg.org/ffmpeg/trunk
tags/v0.5
Loren Merritt 20 years ago
parent
commit
6d1feb028f
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavcodec/cabac.h

+ 1
- 1
libavcodec/cabac.h View File

@@ -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


Loading…
Cancel
Save