aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPiotr Bandurski <ami_stuff@o2.pl>2012-12-03 10:03:27 +0000
committerPaul B Mahol <onemda@gmail.com>2012-12-03 10:03:27 +0000
commit7e93b0ba4b5a60c4ddb84aa867fe3644ac865a9d (patch)
treea46577f05a0cc71d92219754b76c8ead549edb19
parent5e2be27e6580df7387841f2c8dbbcd8b63e73b1e (diff)
downloadffmpeg-7e93b0ba4b5a60c4ddb84aa867fe3644ac865a9d.tar.gz
ra144enc: reject unsupported sample rates
-rw-r--r--libavcodec/ra144enc.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libavcodec/ra144enc.c b/libavcodec/ra144enc.c
index e0fb827856..9a8ac2b2e3 100644
--- a/libavcodec/ra144enc.c
+++ b/libavcodec/ra144enc.c
@@ -564,5 +564,6 @@ AVCodec ff_ra_144_encoder = {
.capabilities = CODEC_CAP_DELAY | CODEC_CAP_SMALL_LAST_FRAME,
.sample_fmts = (const enum AVSampleFormat[]){ AV_SAMPLE_FMT_S16,
AV_SAMPLE_FMT_NONE },
+ .supported_samplerates = (const int[]){ 8000, 0 },
.long_name = NULL_IF_CONFIG_SMALL("RealAudio 1.0 (14.4K)"),
};