ra144enc: reject unsupported sample rates

pull/8/head
Piotr Bandurski 12 years ago committed by Paul B Mahol
parent 5e2be27e65
commit 7e93b0ba4b
  1. 1
      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)"),
};

Loading…
Cancel
Save