From 039ebaa5f39ef45444f3cc42ab2ff71b0e9a1161 Mon Sep 17 00:00:00 2001 From: Rostislav Pehlivanov Date: Sat, 23 Sep 2017 14:21:22 +0100 Subject: 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 --- libavcodec/opusenc_psy.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libavcodec/opusenc_psy.c') diff --git a/libavcodec/opusenc_psy.c b/libavcodec/opusenc_psy.c index 7c356fc568..e6858f1856 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; } -- cgit v1.2.3