[x264-devel] bs_align_1 bugfix

Tuukka Toivonen tuukkat at ee.oulu.fi
Thu Feb 10 19:37:19 CET 2005


Looks like here's a minor bug in x264, patch provided below.

Btw, are there any known problems with the CABAC _decoding_ routines
in x264? I'm planning to use them in my H.264 bitstream analyzer,
as the code looks great.

--- x264/common/bs.h.orig	2004-12-22 14:40:45.000000000 +0200
+++ x264/common/bs.h	2005-02-10 20:26:36.000000000 +0200
@@ -285,7 +285,7 @@
  {
      if( s->i_left != 8 )
      {
-        bs_write( s, s->i_left, 1 );
+        bs_write( s, s->i_left, ~0 );
      }
  }

-- 
This is the x264-devel mailing-list
To unsubscribe, go to: http://developers.videolan.org/lists.html



More information about the x264-devel mailing list