summaryrefslogtreecommitdiffstats
path: root/libavcodec/opusenc_psy.c
diff options
context:
space:
mode:
authorRostislav Pehlivanov <atomnuker@gmail.com>2017-09-23 14:21:22 +0100
committerRostislav Pehlivanov <atomnuker@gmail.com>2017-09-23 14:35:06 +0100
commit039ebaa5f39ef45444f3cc42ab2ff71b0e9a1161 (patch)
treeccb6a83013d5daea6e259509b86cc2b5d347063e /libavcodec/opusenc_psy.c
parent2ad1768c7b48b6c77bbe9c42a4c2744f7b029182 (diff)
downloadffmpeg-streaming-039ebaa5f39ef45444f3cc42ab2ff71b0e9a1161.zip
ffmpeg-streaming-039ebaa5f39ef45444f3cc42ab2ff71b0e9a1161.tar.gz
lavfi: make window_func an inline function
Eliminate lavc->lavfi dependency. The function isn't big and doesn't deserve its own file. Signed-off-by: Rostislav Pehlivanov <atomnuker@gmail.com>
Diffstat (limited to 'libavcodec/opusenc_psy.c')
-rw-r--r--libavcodec/opusenc_psy.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/opusenc_psy.c b/libavcodec/opusenc_psy.c
index 7c356fc..e6858f1 100644
--- a/libavcodec/opusenc_psy.c
+++ b/libavcodec/opusenc_psy.c
@@ -507,7 +507,7 @@ av_cold int ff_opus_psy_init(OpusPsyContext *s, AVCodecContext *avctx,
ret = AVERROR(ENOMEM);
goto fail;
}
- ff_generate_window_func(s->window[i], 2*len, WFUNC_SINE, &tmp);
+ generate_window_func(s->window[i], 2*len, WFUNC_SINE, &tmp);
if ((ret = ff_mdct15_init(&s->mdct[i], 0, i + 3, 68 << (CELT_BLOCK_NB - 1 - i))))
goto fail;
}
OpenPOWER on IntegriCloud