Commit 90f04152 authored by Antoine Cellerier's avatar Antoine Cellerier

Fix croppadd out of bounds write (we were padding 'paddleft+paddright' pixels...

Fix croppadd out of bounds write (we were padding 'paddleft+paddright' pixels on the right instead of 'paddright')
parent 816ceea6
......@@ -286,7 +286,7 @@ static picture_t *Filter( filter_t *p_filter, picture_t *p_pic )
/* Padd on the right */
vlc_memset( p_out, i_padd_color,
( i_outwidth - i_width ) * i_pixel_pitch );
( i_outwidth - i_xpadd - i_width ) * i_pixel_pitch );
/* Got to begining of the next line */
p_in = p_in_next;
......
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