[vlc-devel] [Patch] paddleft pads one line too much
Jean-Paul Saman
jean-paul.saman at planet.nl
Wed Feb 27 20:47:20 CET 2008
Leif Einar Aune wrote:
> Hi, all
>
> When using paddleft when streaming and transcoding I get a segmentation
> fault. This is when running vlc-0.8.6d compiled from source on a Fedora
> 8 64bit box, as well as CentOs5.1.
>
> Looking into the source I think the function fill_pad_region in file
> video_filter.c is writing one line too much in the img->data structure.
>
> The applied patch solves the problem.
>
> It also seems like the last pixels if paddright is specified is not set.
> The patch also fixes this (adding the memset after the for loop).
>
> Please consider it.
The patch doesn't look correct to me, but I think dionoea is a better
judge on that.
Gtz
Jean-Paul Saman.
More information about the vlc-devel
mailing list