summaryrefslogtreecommitdiff
path: root/libavcodec/ra144.c
diff options
context:
space:
mode:
authorVitor Sessak <vitor1001@gmail.com>2008-06-01 19:33:17 +0000
committerVitor Sessak <vitor1001@gmail.com>2008-06-01 19:33:17 +0000
commitaa3aaacb07c80f4630ab60fddea4af904943f019 (patch)
tree98b59e277ff7a6bc677f660c24063ca040d21e45 /libavcodec/ra144.c
parent50b8f2cf1cefc7f8938528b8fc71a5fcfaba67f1 (diff)
Rename dec1() to a more descriptive name
Originally committed as revision 13605 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/ra144.c')
-rw-r--r--libavcodec/ra144.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/libavcodec/ra144.c b/libavcodec/ra144.c
index 17bbcc5434..2883d4b5df 100644
--- a/libavcodec/ra144.c
+++ b/libavcodec/ra144.c
@@ -239,7 +239,7 @@ static void do_output_subblock(RA144Context *ractx,
final(lpc_coefs, block, output_buffer, ractx->buffer, BLOCKSIZE);
}
-static void dec1(int16_t *decsp, const int *inp)
+static void int_to_int16(int16_t *decsp, const int *inp)
{
int i;
@@ -314,10 +314,10 @@ static int dec2(RA144Context *ractx, int16_t *decsp, int block_num,
// The interpolated coefficients are unstable, copy either new or old
// coefficients
if (copynew) {
- dec1(decsp, ractx->lpc_coef);
+ int_to_int16(decsp, ractx->lpc_coef);
return rms(ractx->lpc_refl, f);
} else {
- dec1(decsp, ractx->lpc_coef_old);
+ int_to_int16(decsp, ractx->lpc_coef_old);
return rms(ractx->lpc_refl_old, f);
}
} else {
@@ -361,7 +361,7 @@ static int ra144_decode_frame(AVCodecContext * avctx,
refl_rms[2] = dec2(ractx, block_coefs[2], 2, 1, energy);
refl_rms[3] = rms(ractx->lpc_refl, energy);
- dec1(block_coefs[3], ractx->lpc_coef);
+ int_to_int16(block_coefs[3], ractx->lpc_coef);
/* do output */
for (c=0; c<4; c++) {