[FFmpeg-cvslog] r25051 - trunk/libavcodec/vp3.c
reimar
subversion
Mon Sep 6 21:21:13 CEST 2010
Author: reimar
Date: Mon Sep 6 21:21:13 2010
New Revision: 25051
Log:
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.
Modified:
trunk/libavcodec/vp3.c
Modified: trunk/libavcodec/vp3.c
==============================================================================
--- trunk/libavcodec/vp3.c Mon Sep 6 19:53:29 2010 (r25050)
+++ trunk/libavcodec/vp3.c Mon Sep 6 21:21:13 2010 (r25051)
@@ -1322,6 +1322,7 @@ static void vp3_draw_horiz_band(Vp3Decod
return;
h= y - s->last_slice_end;
+ s->last_slice_end= y;
y -= h;
if (!s->flipped_image) {
@@ -1338,7 +1339,6 @@ static void vp3_draw_horiz_band(Vp3Decod
emms_c();
s->avctx->draw_horiz_band(s->avctx, &s->current_frame, offset, y, 3, h);
- s->last_slice_end= y + h;
}
/*
More information about the ffmpeg-cvslog
mailing list