summaryrefslogtreecommitdiffstats
path: root/media/libstagefright/codecs/amrwbenc/src/pitch_f4.c
diff options
context:
space:
mode:
authorAndreas Huber <andih@google.com>2014-02-12 09:48:48 -0800
committerAndreas Huber <andih@google.com>2014-02-12 09:48:48 -0800
commit442cc6dc48f8188e097617f7f804c314a9dacd0e (patch)
treea7bcfb711c38967644c9b628a8111ff905ca8be3 /media/libstagefright/codecs/amrwbenc/src/pitch_f4.c
parent880c6b2dd8b2fe2ab0054e74bbc108d322e82aa0 (diff)
downloadframeworks_av-442cc6dc48f8188e097617f7f804c314a9dacd0e.zip
frameworks_av-442cc6dc48f8188e097617f7f804c314a9dacd0e.tar.gz
frameworks_av-442cc6dc48f8188e097617f7f804c314a9dacd0e.tar.bz2
Even more warnings (now errors) fixed to unbreak the sdk-x86 build(s).
Change-Id: Ib4a5ab1a9e50fe9e7747a907f8b4a8c207099fdb
Diffstat (limited to 'media/libstagefright/codecs/amrwbenc/src/pitch_f4.c')
-rw-r--r--media/libstagefright/codecs/amrwbenc/src/pitch_f4.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/media/libstagefright/codecs/amrwbenc/src/pitch_f4.c b/media/libstagefright/codecs/amrwbenc/src/pitch_f4.c
index 0d66c31..b66b55e 100644
--- a/media/libstagefright/codecs/amrwbenc/src/pitch_f4.c
+++ b/media/libstagefright/codecs/amrwbenc/src/pitch_f4.c
@@ -31,6 +31,8 @@
#define UP_SAMP 4
#define L_INTERPOL1 4
+#define UNUSED(x) (void)(x)
+
/* Local functions */
#ifdef ASM_OPT
@@ -171,6 +173,7 @@ static void Norm_Corr(
Word32 corr, exp_corr, norm, exp, scale;
Word16 exp_norm, excf[L_SUBFR], tmp;
Word32 L_tmp, L_tmp1, L_tmp2;
+ UNUSED(L_subfr);
/* compute the filtered excitation for the first delay t_min */
k = -t_min;