[FFmpeg-devel] [PATCH] avcodec/allcodecs: add FFMPEG_PREFER_* env vars

Carl Eugen Hoyos ceffmpeg at gmail.com
Sat Apr 21 23:50:56 EEST 2018


2018-04-19 12:15 GMT+02:00, Martin Dørum <martid0311 at gmail.com>:
> Anotehr point is that some applications make assumptions about the
> pix_fmt the decoder they get from `avcodec_find_decoder` uses.

(Unrelated to your patch afaict)
This assumption is invalid, FFmpeg has changed pix_fmt (and
sample_fmt, the same is true for audio) for decoders before
and may change it again in the future.
(Iirc, it was changed without any version bump in the past.)

Carl Eugen


More information about the ffmpeg-devel mailing list