Skip to content
Snippets Groups Projects
Commit d63a7187 authored by David Conrad's avatar David Conrad
Browse files

vp3: correctly clip vp3_draw_horiz_band call

Originally committed as revision 22377 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent bf3d904c
No related branches found
No related tags found
No related merge requests found
......@@ -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));
}
/*
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment