Skip to content
Snippets Groups Projects
Commit 82cee41e authored by Steve Lhomme's avatar Steve Lhomme Committed by Jean-Baptiste Kempf
Browse files

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
1 merge request!6695[3.0] backport FFmpeg future-proofing
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment