diff options
author | Reimar Döffinger <Reimar.Doeffinger@gmx.de> | 2011-02-09 10:52:33 -0500 |
---|---|---|
committer | Ronald S. Bultje <rsbultje@gmail.com> | 2011-02-09 15:30:53 -0500 |
commit | 2cfa2d925808e6cc6fb7a7c133b7cb7622afd37e (patch) | |
tree | 1d57ab59a0bcb228aec02414382a9da6704b4aab /libavcodec/libxvidff.c | |
parent | f4c79d1e0b2e797012304db57903e4091b0c2d7c (diff) | |
download | ffmpeg-2cfa2d925808e6cc6fb7a7c133b7cb7622afd37e.tar.gz |
check sample_fmt in avcodec_open
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.
Diffstat (limited to 'libavcodec/libxvidff.c')
0 files changed, 0 insertions, 0 deletions