summaryrefslogtreecommitdiff
path: root/libavcodec/g729postfilter.c
diff options
context:
space:
mode:
authorVitor Sessak <vitor1001@gmail.com>2011-09-25 20:07:33 +0200
committerMichael Niedermayer <michaelni@gmx.at>2011-09-25 21:16:55 +0200
commit82d99e0b417a1f64821ceae3b5ce032dbb117b54 (patch)
tree95d98efeb2887c82c5d6f822182486be5e3a6cd9 /libavcodec/g729postfilter.c
parent1c4712db81fcf398a5f7b2a3e370aea655792b22 (diff)
g729dec: Fix warnings:
libavcodec/g729dec.c: In function ‘decode_frame’: libavcodec/g729dec.c:662: warning: passing argument 3 of ‘ff_g729_postfilter’ from incompatible pointer type libavcodec/g729postfilter.h:96: note: expected ‘int16_t *’ but argument is of type ‘int *’ Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/g729postfilter.c')
-rw-r--r--libavcodec/g729postfilter.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/g729postfilter.c b/libavcodec/g729postfilter.c
index 4f2f0c2c18..8cc29abbfa 100644
--- a/libavcodec/g729postfilter.c
+++ b/libavcodec/g729postfilter.c
@@ -511,7 +511,7 @@ static int16_t apply_tilt_comp(int16_t* out, int16_t* res_pst, int refl_coeff,
return tmp;
}
-void ff_g729_postfilter(DSPContext *dsp, int16_t* ht_prev_data, int16_t* voicing,
+void ff_g729_postfilter(DSPContext *dsp, int16_t* ht_prev_data, int* voicing,
const int16_t *lp_filter_coeffs, int pitch_delay_int,
int16_t* residual, int16_t* res_filter_data,
int16_t* pos_filter_data, int16_t *speech, int subframe_size)