[FFmpeg-devel] [PATCH] imgconvert: Implement avcodec_find_best_pix_fmt_of_list()

Paul B Mahol onemda at gmail.com
Sun Jul 15 02:18:04 CEST 2012

On 7/15/12, Michael Niedermayer <michaelni at gmx.at> wrote:
> The old avcodec_find_best_pix_fmt() was insufficient due to 64 pix_fmt
> limit.
> In ffmpeg this problem has been solved long ago through
> avcodec_find_best_pix_fmt2()
> Today libav has added a incompatible modified version of
> avcodec_find_best_pix_fmt2()
> under the same name, thus again breaking ABI/API ...

I don't see point in repeating this again and again.
Libav is not ever going to care for compatibility with "evil" FFmpeg.

> The avcodec_find_best_pix_fmt_of_list() added in this commit here makes the
> libav
> API available to ffmpeg users too.

Note that ffmpeg version is broken - it does not find best pix fmt sometimes,
did not tested libav version yet.

More information about the ffmpeg-devel mailing list