Commit bc398d79 authored by Ghislain MARY's avatar Ghislain MARY
Browse files

Fix offset in video (black strip at the top of the video for anticlockwise rotation).

parent d26d2090
......@@ -276,7 +276,7 @@ void rotate_down_scale_plane_neon_anticlockwise(int wDest, int hDest, int full_w
int wSrc = down_scale?hDest*2:hDest;
int src_incr = full_width*src_block_width;
dst += wDest * (hDest - 1);
dst += wDest * (hDest - dest_block_width);
int y,x;
for (y=0; y<hSrc; y+=src_block_width) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment