summaryrefslogtreecommitdiffstats
path: root/libavcodec/opusenc.c
diff options
context:
space:
mode:
authorRostislav Pehlivanov <atomnuker@gmail.com>2017-07-10 23:43:53 +0100
committerRostislav Pehlivanov <atomnuker@gmail.com>2017-07-10 23:49:44 +0100
commit8041b2420f11758a4b2e573729cb31e2cf686ca1 (patch)
tree62dcd6fd01673aec050522e033b4bfd2c4f90941 /libavcodec/opusenc.c
parent03d8fbc09cdb78c93d1c51f39d783c081b981bac (diff)
downloadffmpeg-streaming-8041b2420f11758a4b2e573729cb31e2cf686ca1.zip
ffmpeg-streaming-8041b2420f11758a4b2e573729cb31e2cf686ca1.tar.gz
opusenc: don't set avctx->cutoff
Its only use is to adjust the aac psychoacoustic/filter system which isn't used here. Signed-off-by: Rostislav Pehlivanov <atomnuker@gmail.com>
Diffstat (limited to 'libavcodec/opusenc.c')
-rw-r--r--libavcodec/opusenc.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/libavcodec/opusenc.c b/libavcodec/opusenc.c
index 303f11f..8aba291 100644
--- a/libavcodec/opusenc.c
+++ b/libavcodec/opusenc.c
@@ -1049,8 +1049,6 @@ static av_cold int opus_encode_init(AVCodecContext *avctx)
/* Initial padding will change if SILK is ever supported */
avctx->initial_padding = 120;
- avctx->cutoff = !avctx->cutoff ? 20000 : avctx->cutoff;
-
if (!avctx->bit_rate) {
int coupled = ff_opus_default_coupled_streams[s->channels - 1];
avctx->bit_rate = coupled*(96000) + (s->channels - coupled*2)*(48000);
OpenPOWER on IntegriCloud