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

Derek Buitenhuis derek.buitenhuis at gmail.com
Thu Apr 19 17:19:00 EEST 2018

On 4/19/2018 11:40 AM, wm4 wrote:
> Regarding this patch, personally I don't think using getenv() to
> configure what is pretty much API semantics is acceptable. But a new
> API function that restricts what codecs are used based on a string
> argument might be ok. Then applications could use it to implement
> codec selection control via environment or command line arguments or
> something else.

+1 no getenv

- Derek

More information about the ffmpeg-devel mailing list