From: Vitor Sessak Date: Thu, 19 Jun 2008 20:28:28 +0000 (+0000) Subject: Rename table X-Git-Tag: v0.5~4094 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=a2d10dd8d8ad5f893d37724fa03aaafd588aa383;p=platform%2Fupstream%2Flibav.git Rename table Originally committed as revision 13824 to svn://svn.ffmpeg.org/ffmpeg/trunk --- diff --git a/libavcodec/ra144.c b/libavcodec/ra144.c index a4d15d6c9..0d25a6ac2 100644 --- a/libavcodec/ra144.c +++ b/libavcodec/ra144.c @@ -356,7 +356,7 @@ static int ra144_decode_frame(AVCodecContext * avctx, eval_coefs(lpc_refl, ractx->lpc_coef); ractx->lpc_refl_rms = rms(lpc_refl); - energy = decodeval[get_bits(&gb, 5) << 1]; // Useless table entries? + energy = energy_tab[get_bits(&gb, 5) << 1]; // Useless table entries? refl_rms[0] = interp(ractx, block_coefs[0], 0, 0, ractx->old_energy); refl_rms[1] = interp(ractx, block_coefs[1], 1, energy > ractx->old_energy, diff --git a/libavcodec/ra144.h b/libavcodec/ra144.h index fd74c972c..af2b9257f 100644 --- a/libavcodec/ra144.h +++ b/libavcodec/ra144.h @@ -1869,7 +1869,7 @@ static const uint32_t ftable2[128]={ 192855, 211270, 211641, 210734, 221325, 222075, 214093, 194793 }; -static const int16_t decodeval[63]={ +static const int16_t energy_tab[63]={ 0, 6, 16, 18, 20, 23, 25, 29, 32, 36, 41, 46, 51, 57, 65, 73, 81, 91, 103, 115, 129, 145, 163, 183,