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

michael subversion
Mon Oct 9 16:15:53 CEST 2006


Author: michael
Date: Mon Oct  9 16:15:53 2006
New Revision: 6603

Modified:
   trunk/libavcodec/cabac.h

Log:
10l bugfix for some disabled code


Modified: trunk/libavcodec/cabac.h
==============================================================================
--- trunk/libavcodec/cabac.h	(original)
+++ trunk/libavcodec/cabac.h	Mon Oct  9 16:15:53 2006
@@ -493,9 +493,9 @@
     c->range += (RangeLPS - c->range) & lps_mask;
 
     bit= (s^lps_mask)&1;
-    *state= c->mps_state[s - (128&lps_mask)];
+    *state= c->mps_state[s - (130&lps_mask)];
 
-    lps_mask= ff_h264_norm_shift[c->range>>(CABAC_BITS+2)];
+    lps_mask= ff_h264_norm_shift[c->range>>(CABAC_BITS+3)];
     c->range<<= lps_mask;
     c->low  <<= lps_mask;
     if(!(c->low & CABAC_MASK))




More information about the ffmpeg-cvslog mailing list