aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2007-05-30 21:38:57 +0000
committerMichael Niedermayer <michaelni@gmx.at>2007-05-30 21:38:57 +0000
commit61d49d122cd33a215e41fbdb763bea23486eb7af (patch)
tree75a47ffdfdb1fd5b1de54f0ad45ee91dc853b489 /libavcodec
parentc3b95b1d3d506da97faa83b5a866ca605cb57316 (diff)
downloadffmpeg-61d49d122cd33a215e41fbdb763bea23486eb7af.tar.gz
fix assert() 2nd try
Originally committed as revision 9163 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec')
-rw-r--r--libavcodec/snow.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/snow.c b/libavcodec/snow.c
index fddffc1e75..51be68b148 100644
--- a/libavcodec/snow.c
+++ b/libavcodec/snow.c
@@ -2115,7 +2115,7 @@ static int encode_q_branch(SnowContext *s, int level, int x, int y){
//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