[Ffmpeg-cvslog] r6599 - trunk/libavcodec/cabac.h

michael subversion
Mon Oct 9 14:25:28 CEST 2006


Author: michael
Date: Mon Oct  9 14:25:24 2006
New Revision: 6599

Modified:
   trunk/libavcodec/cabac.h

Log:
remove bytestream_end checks, seems to work fine without them and the bitstream reader doesnt check for the end either


Modified: trunk/libavcodec/cabac.h
==============================================================================
--- trunk/libavcodec/cabac.h	(original)
+++ trunk/libavcodec/cabac.h	Mon Oct  9 14:25:24 2006
@@ -256,7 +256,6 @@
 }
 
 static void refill(CABACContext *c){
-    if(c->bytestream <= c->bytestream_end)
 #if CABAC_BITS == 16
         c->low+= (c->bytestream[0]<<9) + (c->bytestream[1]<<1);
 #else
@@ -274,7 +273,6 @@
 
     x= -CABAC_MASK;
 
-    if(c->bytestream <= c->bytestream_end)
 #if CABAC_BITS == 16
         x+= (c->bytestream[0]<<9) + (c->bytestream[1]<<1);
 #else




More information about the ffmpeg-cvslog mailing list