X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=libavcodec%2Fatrac.c;h=6c1b1f19ce86caad833424688e1916500926c953;hb=f9ecb849ef39bc337d9439b829fe08da5c95cc3d;hp=57fde6de78e6fb07e47952dbdbd1afb1a8aa51ca;hpb=0e1baedec302e6d952bc46708753aaa586b33651;p=ffmpeg diff --git a/libavcodec/atrac.c b/libavcodec/atrac.c index 57fde6de78e..6c1b1f19ce8 100644 --- a/libavcodec/atrac.c +++ b/libavcodec/atrac.c @@ -21,7 +21,7 @@ */ /** - * @file libavcodec/atrac.c + * @file */ #include @@ -30,9 +30,10 @@ #include "avcodec.h" #include "dsputil.h" +#include "atrac.h" -float sf_table[64]; -float qmf_window[48]; +float ff_atrac_sf_table[64]; +static float qmf_window[48]; static const float qmf_48tap_half[24] = { -0.00001461907, -0.00009205479,-0.000056157569,0.00030117269, @@ -53,9 +54,9 @@ void atrac_generate_tables(void) float s; /* Generate scale factors */ - if (!sf_table[63]) + if (!ff_atrac_sf_table[63]) for (i=0 ; i<64 ; i++) - sf_table[i] = pow(2.0, (i - 15) / 3.0); + ff_atrac_sf_table[i] = pow(2.0, (i - 15) / 3.0); /* Generate the QMF window. */ if (!qmf_window[47])