summaryrefslogtreecommitdiff
path: root/libavcodec/ra144.c
diff options
context:
space:
mode:
authorVitor Sessak <vitor1001@gmail.com>2008-06-19 20:51:56 +0000
committerVitor Sessak <vitor1001@gmail.com>2008-06-19 20:51:56 +0000
commit5116b92d71c1993fac858c7240b473b4e882e545 (patch)
treee5d1e4bb685a3024596fc40424e171e16a366644 /libavcodec/ra144.c
parente77825786e99954d2d70b1c155d5966eb1b69e96 (diff)
Misc cosmetics
Originally committed as revision 13830 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/ra144.c')
-rw-r--r--libavcodec/ra144.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/libavcodec/ra144.c b/libavcodec/ra144.c
index 19f6f80317..997dfd82be 100644
--- a/libavcodec/ra144.c
+++ b/libavcodec/ra144.c
@@ -135,9 +135,8 @@ static void add_wav(int n, int skip_first, int *m, const int16_t *s1,
dest[i] = ((*(s1++))*v[0] + (*(s2++))*v[1] + (*(s3++))*v[2]) >> 12;
}
-
static void lpc_filter(const int16_t *lpc_coefs, const int16_t *adapt_coef,
- void *out, int *statbuf, int len)
+ void *out, int *statbuf, int len)
{
int x, i;
uint16_t work[50];
@@ -331,7 +330,7 @@ static int ra144_decode_frame(AVCodecContext * avctx,
const uint8_t * buf, int buf_size)
{
static const uint8_t sizes[10] = {6, 5, 5, 4, 4, 3, 3, 3, 3, 2};
- unsigned int refl_rms[4]; // RMS of the reflection coefficients
+ unsigned int refl_rms[4]; // RMS of the reflection coefficients
uint16_t block_coefs[4][30]; // LPC coefficients of each sub-block
unsigned int lpc_refl[10]; // LPC reflection coefficients of the frame
int i, c;
@@ -384,7 +383,6 @@ static int ra144_decode_frame(AVCodecContext * avctx,
return 20;
}
-
AVCodec ra_144_decoder =
{
"real_144",