aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/atrac.c
diff options
context:
space:
mode:
authorDiego Elio Pettenò <flameeyes@gmail.com>2011-01-24 23:36:10 +0000
committerMans Rullgard <mans@mansr.com>2011-01-24 23:43:41 +0000
commit82e1f217f276b4b3fda1f89a836126275a97ca9b (patch)
treee3294afc6d3d682b7afd135adfa7c8ab8f255bb3 /libavcodec/atrac.c
parent53493f9a8176009fc514c386ee31cafcafc8539a (diff)
downloadffmpeg-82e1f217f276b4b3fda1f89a836126275a97ca9b.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>
Diffstat (limited to 'libavcodec/atrac.c')
-rw-r--r--libavcodec/atrac.c6
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])