Add options to set some AVCodecContext's field
|Reported by:||jyavenard||Owned by:|
|Blocking:||Reproduced by developer:||no|
|Analyzed by developer:||no|
There's currently no options to set the following members of AVCodecContext via AVOptions, which are ABI dependent.
that list isn't exhaustive obviously (but that's what we use today)
which means you must hope that the binary definition of AVCodecContext hasn't changed between the header you use and the library you're linking to.
One example would be if libavcodec was built with FF_API_CODEC_NAME set, all structure field would be shifted by 32 bytes.
Seeing that the ABI of AVCodecContext isn't fixed, one can't guarantee the outcome of using an external libavcodec shared lib.