mirror of https://github.com/FFmpeg/FFmpeg.git
check AVCodecContext->sample_fmt against AVCodec->sample_fmts[] to ensure that the encoder supports the specified sample format. Error out if it doesn't. Previously, it would continue and output garbage. Fixes issue 2587.oldabi
parent
f4c79d1e0b
commit
2cfa2d9258
1 changed files with 10 additions and 0 deletions
Loading…
Reference in new issue