1
mirror of https://git.videolan.org/git/ffmpeg.git synced 2024-09-28 16:02:17 +02:00

ra144enc: reject unsupported sample rates

This commit is contained in:
Piotr Bandurski 2012-12-03 10:03:27 +00:00 committed by Paul B Mahol
parent 5e2be27e65
commit 7e93b0ba4b

View File

@ -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)"),
};