[FFmpeg-cvslog] r22377 - trunk/libavcodec/vp3.c

conrad subversion
Tue Mar 9 07:52:33 CET 2010


Author: conrad
Date: Tue Mar  9 07:52:33 2010
New Revision: 22377

Log:
vp3: correctly clip vp3_draw_horiz_band call

Modified:
   trunk/libavcodec/vp3.c

Modified: trunk/libavcodec/vp3.c
==============================================================================
--- trunk/libavcodec/vp3.c	Tue Mar  9 07:21:41 2010	(r22376)
+++ trunk/libavcodec/vp3.c	Tue Mar  9 07:52:33 2010	(r22377)
@@ -1565,7 +1565,7 @@ static void render_slice(Vp3DecodeContex
       *     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));
 }
 
 /*



More information about the ffmpeg-cvslog mailing list