[FFmpeg-cvslog] r9163 - trunk/libavcodec/snow.c

michael subversion
Wed May 30 23:38:57 CEST 2007


Author: michael
Date: Wed May 30 23:38:57 2007
New Revision: 9163

Log:
fix assert() 2nd try


Modified:
   trunk/libavcodec/snow.c

Modified: trunk/libavcodec/snow.c
==============================================================================
--- trunk/libavcodec/snow.c	(original)
+++ trunk/libavcodec/snow.c	Wed May 30 23:38:57 2007
@@ -2115,7 +2115,7 @@ static int encode_q_branch(SnowContext *
     //FIXME if mb_cmp != SSE then intra cant be compared currently and mb_penalty vs. lambda2
 
   //  subpel search
-    base_bits= get_rac_count(&s->c) - (s->c.bytestream - s->c.bytestream_start);
+    base_bits= get_rac_count(&s->c) - 8*(s->c.bytestream - s->c.bytestream_start);
     pc= s->c;
     pc.bytestream_start=
     pc.bytestream= p_buffer; //FIXME end/start? and at the other stoo




More information about the ffmpeg-cvslog mailing list