diff options
author | Diego Elio Pettenò <flameeyes@gmail.com> | 2011-01-24 23:36:10 +0000 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2011-01-26 03:43:29 +0100 |
commit | ee7fed27d452c7a7be2457d4230eafb084e010c5 (patch) | |
tree | e259f028b2bcd43a0f1d47d243d312979cb3139a /libavcodec/atrac.c | |
parent | f7e5cc0a2cc736af8543c256fb761d26f3249d9e (diff) | |
download | ffmpeg-ee7fed27d452c7a7be2457d4230eafb084e010c5.tar.gz |
Rename sf_table in atrac.c unit to ff_atrac_sf_table.
This ensures a locally-unique name as well as marks the symbol as
FFmpeg-private at least by declaration.
Signed-off-by: Mans Rullgard <mans@mansr.com>
(cherry picked from commit 82e1f217f276b4b3fda1f89a836126275a97ca9b)
Diffstat (limited to 'libavcodec/atrac.c')
-rw-r--r-- | libavcodec/atrac.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libavcodec/atrac.c b/libavcodec/atrac.c index 1f7a69e2f8..6c1b1f19ce 100644 --- a/libavcodec/atrac.c +++ b/libavcodec/atrac.c @@ -32,7 +32,7 @@ #include "dsputil.h" #include "atrac.h" -float sf_table[64]; +float ff_atrac_sf_table[64]; static float qmf_window[48]; static const float qmf_48tap_half[24] = { @@ -54,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]) |