changeset 5085:81bbca75ae2f libavcodec

fix assert() 2nd try
author michael
date Wed, 30 May 2007 21:38:57 +0000
parents 9930b7031cb2
children a10ebd496bd9
files snow.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/snow.c	Wed May 30 14:20:55 2007 +0000
+++ b/snow.c	Wed May 30 21:38:57 2007 +0000
@@ -2115,7 +2115,7 @@
     //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