From a0cce1587bfe30168873a66f851881f16480f00c Mon Sep 17 00:00:00 2001
From: Vitor Sessak <vitor1001@gmail.com>
Date: Thu, 24 Jul 2008 03:50:06 +0000
Subject: [PATCH] Give windowing tables a more descriptive name
 (s/table1/syn_window/, s/table2/gain_window/).

Originally committed as revision 14360 to svn://svn.ffmpeg.org/ffmpeg/trunk
---
 libavcodec/ra288.c | 4 ++--
 libavcodec/ra288.h | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/libavcodec/ra288.c b/libavcodec/ra288.c
index 9f10bbca97c..946820cf56b 100644
--- a/libavcodec/ra288.c
+++ b/libavcodec/ra288.c
@@ -187,7 +187,7 @@ static void update(Real288_internal *glob)
     memcpy(buffer1 + 20, glob->output     , 20*sizeof(*buffer1));
 
     do_hybrid_window(36, 40, 35, buffer1, temp1, glob->st1a, glob->st1b,
-                     table1);
+                     syn_window);
 
     if (pred(temp1, glob->st1, 36))
         colmult(glob->pr1, glob->st1, table1a, 36);
@@ -196,7 +196,7 @@ static void update(Real288_internal *glob)
     memcpy(buffer2 + 4, glob->history    , 4*sizeof(*buffer2));
 
     do_hybrid_window(10, 8, 20, buffer2, temp2, glob->st2a, glob->st2b,
-                     table2);
+                     gain_window);
 
     if (pred(temp2, glob->st2, 10))
         colmult(glob->pr2, glob->st2, table2a, 10);
diff --git a/libavcodec/ra288.h b/libavcodec/ra288.h
index 9164c86382f..f2fec9c5df6 100644
--- a/libavcodec/ra288.h
+++ b/libavcodec/ra288.h
@@ -158,7 +158,7 @@ static const float codetable[128][5]={
 { 0.2958984375,   0.9853515625,  -0.642578125,    1.984375,       0.1943359375 }
 };
 
-static const float table1[111]={
+static const float syn_window[111]={
   0.576690972, 0.580838025, 0.585013986, 0.589219987, 0.59345597,  0.597723007,
   0.602020264, 0.606384277, 0.610748291, 0.615142822, 0.619598389, 0.624084473,
   0.628570557, 0.633117676, 0.637695313, 0.642272949, 0.646911621, 0.651580811,
@@ -180,7 +180,7 @@ static const float table1[111]={
   0.142852783, 0.0954284668,0.0477600098
 };
 
-static const float table2[38]={
+static const float gain_window[38]={
   0.505699992, 0.524200022, 0.54339999,  0.563300014, 0.583953857, 0.60534668,
   0.627502441, 0.650482178, 0.674316406, 0.699005127, 0.724578857, 0.75112915,
   0.778625488, 0.807128906, 0.836669922, 0.86730957,  0.899078369, 0.932006836,
-- 
GitLab