aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/lpc.c
diff options
context:
space:
mode:
authorJustin Ruggles <justin.ruggles@gmail.com>2011-01-21 00:12:18 +0000
committerMans Rullgard <mans@mansr.com>2011-01-21 19:59:08 +0000
commit1c189fc5334d4a687b15861d81d22c8ba2c9cd5e (patch)
tree2cc5a2a8f1c1a14d268f47ad1425dc98b1157734 /libavcodec/lpc.c
parent77a78e9bdcc589efac41da4f92a489f4523667c0 (diff)
downloadffmpeg-1c189fc5334d4a687b15861d81d22c8ba2c9cd5e.tar.gz
cosmetics related to LPC changes.
Signed-off-by: Mans Rullgard <mans@mansr.com>
Diffstat (limited to 'libavcodec/lpc.c')
-rw-r--r--libavcodec/lpc.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/libavcodec/lpc.c b/libavcodec/lpc.c
index fd51491716..6d7671c81f 100644
--- a/libavcodec/lpc.c
+++ b/libavcodec/lpc.c
@@ -28,7 +28,8 @@
/**
* Apply Welch window function to audio block
*/
-static void apply_welch_window_c(const int32_t *data, int len, double *w_data)
+static void lpc_apply_welch_window_c(const int32_t *data, int len,
+ double *w_data)
{
int i, n2;
double w;
@@ -55,7 +56,7 @@ static void apply_welch_window_c(const int32_t *data, int len, double *w_data)
* A Welch window function is applied before calculation.
*/
static void lpc_compute_autocorr_c(const double *data, int len, int lag,
- double *autoc)
+ double *autoc)
{
int i, j;
@@ -255,8 +256,8 @@ av_cold int ff_lpc_init(LPCContext *s, int blocksize, int max_order,
s->windowed_samples = NULL;
}
- s->lpc_apply_welch_window = apply_welch_window_c;
- s->lpc_compute_autocorr = lpc_compute_autocorr_c;
+ s->lpc_apply_welch_window = lpc_apply_welch_window_c;
+ s->lpc_compute_autocorr = lpc_compute_autocorr_c;
if (HAVE_MMX)
ff_lpc_init_x86(s);