changeset 2736:aaa8b65d1253 libavcodec

decode h264 end-of-slice flag
author lorenm
date Sun, 29 May 2005 18:18:13 +0000
parents 7f38814cffa1
children b37add61897a
files cabac.h
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/cabac.h	Thu May 26 14:40:20 2005 +0000
+++ b/cabac.h	Sun May 29 18:18:13 2005 +0000
@@ -254,7 +254,7 @@
 }
 
 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