From 7e93b0ba4b5a60c4ddb84aa867fe3644ac865a9d Mon Sep 17 00:00:00 2001 From: Piotr Bandurski Date: Mon, 3 Dec 2012 10:03:27 +0000 Subject: [PATCH] ra144enc: reject unsupported sample rates --- libavcodec/ra144enc.c | 1 + 1 file changed, 1 insertion(+) 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)"), };