aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/mpc7data.h
diff options
context:
space:
mode:
authorReimar Döffinger <Reimar.Doeffinger@gmx.de>2011-02-09 10:52:33 -0500
committerRonald S. Bultje <rsbultje@gmail.com>2011-02-09 15:30:53 -0500
commit2cfa2d925808e6cc6fb7a7c133b7cb7622afd37e (patch)
tree1d57ab59a0bcb228aec02414382a9da6704b4aab /libavcodec/mpc7data.h
parentf4c79d1e0b2e797012304db57903e4091b0c2d7c (diff)
downloadffmpeg-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/mpc7data.h')
0 files changed, 0 insertions, 0 deletions