[FFmpeg-cvslog] r25052 - trunk/libavcodec/vp3.c
reimar
subversion
Mon Sep 6 21:26:18 CEST 2010
Author: reimar
Date: Mon Sep 6 21:26:18 2010
New Revision: 25052
Log:
Fix slice height for y position calculation for vp3_draw_horiz_band
when the video uses 4:2:2 instead of 4:2:0 coding.
Modified:
trunk/libavcodec/vp3.c
Modified: trunk/libavcodec/vp3.c
==============================================================================
--- trunk/libavcodec/vp3.c Mon Sep 6 21:21:13 2010 (r25051)
+++ trunk/libavcodec/vp3.c Mon Sep 6 21:26:18 2010 (r25052)
@@ -1509,7 +1509,7 @@ static void render_slice(Vp3DecodeContex
* dispatch (slice - 1);
*/
- vp3_draw_horiz_band(s, FFMIN(64*slice + 64-16, s->height-16));
+ vp3_draw_horiz_band(s, FFMIN((32 << s->chroma_y_shift) * (slice + 1) -16, s->height-16));
}
/*
More information about the ffmpeg-cvslog
mailing list