mirror of
https://github.com/xenia-project/FFmpeg.git
synced 2025-02-15 01:17:22 +00:00
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. Originally committed as revision 25052 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
3b9ee20f70
commit
3d487db153
@ -1509,7 +1509,7 @@ static void render_slice(Vp3DecodeContext *s, int slice)
|
||||
* 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));
|
||||
}
|
||||
|
||||
/*
|
||||
|
Loading…
x
Reference in New Issue
Block a user