Commit 1476e6a1 authored by conrad's avatar conrad

vp3: correctly clip vp3_draw_horiz_band call

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@22377 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 261ba439
......@@ -1565,7 +1565,7 @@ static void render_slice(Vp3DecodeContext *s, int slice)
* dispatch (slice - 1);
*/
vp3_draw_horiz_band(s, 64*slice + 64-16);
vp3_draw_horiz_band(s, FFMIN(64*slice + 64-16, s->height-16));
}
/*
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment