]> git.sesse.net Git - ffmpeg/commitdiff
decode h264 end-of-slice flag
authorLoren Merritt <lorenm@u.washington.edu>
Sun, 29 May 2005 18:18:13 +0000 (18:18 +0000)
committerLoren Merritt <lorenm@u.washington.edu>
Sun, 29 May 2005 18:18:13 +0000 (18:18 +0000)
Originally committed as revision 4316 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavcodec/cabac.h

index cc03eba960d6c7ef337bccb687e80043a8629026..15ec88d92567f899c080fcf03d5dd255c5d47fff 100644 (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