Browse Source

vp3: correctly clip vp3_draw_horiz_band call

Originally committed as revision 22377 to svn://svn.ffmpeg.org/ffmpeg/trunk
tags/v0.6
David Conrad 16 years ago
parent
commit
d63a718764
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavcodec/vp3.c

+ 1
- 1
libavcodec/vp3.c View File

@@ -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));
}

/*


Loading…
Cancel
Save