[FFmpeg-devel] [PATCH] Use PIX_FMT_BGR24 for the AviSynth demuxer, not PIX_FMT_RGB24.

Stephen Hutchinson qyot27 at gmail.com
Sat Mar 30 17:07:48 CET 2013


On Sat, Mar 30, 2013 at 11:18 AM, Paul B Mahol <onemda at gmail.com> wrote:
> Note that PIX_FMT_RGB32 is different on big and little endian, so
> maybe this one is also incorrect.
AviSynth is Windows-only, so big endian isn't a problem for it.  To my
knowledge, AvxSynth only targets x86 and x86-64, so it shouldn't have
to deal with big endian either.  But if one of them was going to be
massaged into working on BE, it'd be AvxSynth.

>From looking at pix_fmt's documentation, would PIX_FMT_BGR32_1 be the
way to make sure it's always interpreted as bgra like it currently is,
regardless of endianness?


On Sat, Mar 30, 2013 at 11:32 AM, Carl Eugen Hoyos <cehoyos at ag.or.at>  wrote:
>If this fixes (a part of) ticket #2412, please
>add that to the commit message.

It does, so I'll add it.


More information about the ffmpeg-devel mailing list