# HG changeset patch # User reimar # Date 1283800873 0 # Node ID 7106d2c8f1426766222a368c2c8ed740945d24a6 # Parent b3f8dba49d1f247431253450eb62ddd2b275fd27 Fix vp3_draw_horiz_band to not produce completely chaotical values that result in overdrawing areas again and again if s->flipped_image is false. diff -r b3f8dba49d1f -r 7106d2c8f142 vp3.c --- a/vp3.c Mon Sep 06 17:53:29 2010 +0000 +++ b/vp3.c Mon Sep 06 19:21:13 2010 +0000 @@ -1322,6 +1322,7 @@ return; h= y - s->last_slice_end; + s->last_slice_end= y; y -= h; if (!s->flipped_image) { @@ -1338,7 +1339,6 @@ emms_c(); s->avctx->draw_horiz_band(s->avctx, &s->current_frame, offset, y, 3, h); - s->last_slice_end= y + h; } /*