diff options
author | David Conrad <lessen42@gmail.com> | 2010-03-09 09:52:33 +0300 |
---|---|---|
committer | David Conrad <lessen42@gmail.com> | 2010-03-09 09:52:33 +0300 |
commit | d63a7187646c07619ecb07a3d4bb67c7fba5500d (patch) | |
tree | 29d1aec725f279bef5bea31af5bf3b88b322311e /libavcodec/vp3.c | |
parent | bf3d904c3df415b682266c9629ceaf1c1f7d42e2 (diff) |
vp3: correctly clip vp3_draw_horiz_band call
Originally committed as revision 22377 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/vp3.c')
-rw-r--r-- | libavcodec/vp3.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/vp3.c b/libavcodec/vp3.c index 9e99ddebdc..ff56be65fe 100644 --- a/libavcodec/vp3.c +++ b/libavcodec/vp3.c @@ -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)); } /* |