[FFmpeg-devel] [PATCH]lavfi/mergeplanes: Fix little endian formats >8 bit.

Carl Eugen Hoyos ceffmpeg at gmail.com
Sun Oct 30 16:23:23 EET 2016

> Am 30.10.2016 um 00:55 schrieb Paul B Mahol <onemda at gmail.com>:
>> On 10/30/16, Carl Eugen Hoyos <cehoyos at ag.or.at> wrote:
>> Hi!
>> Attached patch fixes ticket #5916 for (for example) yuv444p9le.
> Same as for another mergeplanes patch from you, please explain why
> this is correct.

I think that for little endian yuv formats >8bit but <16bit, using the mergeplanes filter currently implies an intermediate format which must have the same endianness as the input format but this is not guaranteed by the current code.
Even if the issue can be worked-around differently, this patch should be applied anyway imo.

> Are patches dependend on each other?

The issue described here can be reproduced (seen) without applying the other patch, that's what the OP means with "left are strange" in his report on the bug tracker.

Carl Eugen

More information about the ffmpeg-devel mailing list