[vlc-devel] Re: segfault in scale.c

Gildas Bazin gbazin at altern.org
Sun Sep 11 22:51:04 CEST 2005


On Saturday 10 September 2005 21:01, Wallace Wadge wrote:
> I'm getting a segfault after leaving vlc to run for a while. I've tracked 
it 
> down to scale.c
> 
> I've found this change which looks like being the culprit. Can someone 
> explain the change?
> https://trac.videolan.org/vlc/changeset/8718
> 

Nicely spotted.

This change does a better rounding, which in turns allows the interpolation 
to really select the closest source pixel. However that could lead the 
interpolation to access a line after the end of the picture.

Thanks for tracking this down,

--
Gildas

-- 
This is the vlc-devel mailing-list, see http://www.videolan.org/vlc/
To unsubscribe, please read http://developers.videolan.org/lists.html



More information about the vlc-devel mailing list