avcodec/encoder: use AV_CODEC_CONFIG_SAMPLE_FORMAT to get supported sample formats
p_codec->sample_fmts is deprecated. It both cases the array was ending with AV_SAMPLE_FMT_NONE. (cherry picked from commit f20c4805)
parent
9f5ad85d
No related branches found
No related tags found
Loading
Please register or sign in to comment