[FFmpeg-devel] [PATCH]Allow auto-selecting ljpeg colour space

Paul B Mahol onemda at gmail.com
Fri Jun 1 11:47:16 CEST 2012


On 6/1/12, Carl Eugen Hoyos <cehoyos at ag.or.at> wrote:
> Hi!
>
> Attached patch allows auto-selection in some situations when encoding ljpeg,
> I
> wonder why yuv420p is allowed with strict something for ljpeg but not for
> mjpeg
> which uses similar code in init(), but disables yuv420p in pix_fmts.
>
> Please comment, Carl Eugen

Please keep same alignment and style as rest of the file.

In case of BGR24 and BGR0 memory appears to be allocated like for yuv
formats, which appears to be incorrect or code can be simplified.


More information about the ffmpeg-devel mailing list