[Ffmpeg-cvslog] r5527 - trunk/libavcodec/flacenc.c

michael subversion
Sun Jun 25 23:22:25 CEST 2006


Author: michael
Date: Sun Jun 25 23:22:25 2006
New Revision: 5527

Modified:
   trunk/libavcodec/flacenc.c

Log:
10l


Modified: trunk/libavcodec/flacenc.c
==============================================================================
--- trunk/libavcodec/flacenc.c	(original)
+++ trunk/libavcodec/flacenc.c	Sun Jun 25 23:22:25 2006
@@ -331,7 +331,7 @@
         return;
     }
 
-    bytes= (av_log2(val)-1) / 5;
+    bytes= (av_log2(val)+4) / 5;
     shift = (bytes - 1) * 6;
     put_bits(pb, 8, (256 - (256>>bytes)) | (val >> shift));
     while(shift >= 6){




More information about the ffmpeg-cvslog mailing list