[MPlayer-dev-eng] MPlayer/MEncoder crash on using -vf scale and expand together. Fix attached.

Ivan Kalvachev ikalvachev at gmail.com
Mon Oct 31 22:55:54 CET 2011


On 10/31/11, Carl Eugen Hoyos <cehoyos at ag.or.at> wrote:
> Reimar Döffinger <Reimar.Doeffinger <at> gmx.de> writes:
>
>> But anyway, the libswscale API does not mention such alignment
>> requirements, such alignment requirements cause real issues
>> (for many resolutions you can no longer scale directly into
>> a frame buffer or otherwise fixed-stride surface) and in general
>> it is an API change to require this now.
>
> I believe this has been fixed, did the crash disappear?

Yes, I asked Michael yesterday and his response was quick and swift.

The expand filter uses pointer arithmetic so it is almost sure that
you will get wrong alignment of the planes if you don't round to 16
(or even 32).


More information about the MPlayer-dev-eng mailing list