diff options
author | Rostislav Pehlivanov <atomnuker@gmail.com> | 2017-09-23 14:21:22 +0100 |
---|---|---|
committer | Rostislav Pehlivanov <atomnuker@gmail.com> | 2017-09-23 14:35:06 +0100 |
commit | 039ebaa5f39ef45444f3cc42ab2ff71b0e9a1161 (patch) | |
tree | ccb6a83013d5daea6e259509b86cc2b5d347063e /libavfilter/avf_showspectrum.c | |
parent | 2ad1768c7b48b6c77bbe9c42a4c2744f7b029182 (diff) | |
download | ffmpeg-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 'libavfilter/avf_showspectrum.c')
-rw-r--r-- | libavfilter/avf_showspectrum.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavfilter/avf_showspectrum.c b/libavfilter/avf_showspectrum.c index 4317161d79..956f62f3ad 100644 --- a/libavfilter/avf_showspectrum.c +++ b/libavfilter/avf_showspectrum.c @@ -403,7 +403,7 @@ static int config_output(AVFilterLink *outlink) sizeof(*s->window_func_lut)); if (!s->window_func_lut) return AVERROR(ENOMEM); - ff_generate_window_func(s->window_func_lut, s->win_size, s->win_func, &overlap); + generate_window_func(s->window_func_lut, s->win_size, s->win_func, &overlap); if (s->overlap == 1) s->overlap = overlap; s->hop_size = (1. - s->overlap) * s->win_size; |