summaryrefslogtreecommitdiffstats
path: root/media/libstagefright/codecs/aacenc/basic_op/oper_32b.c
diff options
context:
space:
mode:
authorAndreas Huber <andih@google.com>2014-02-07 15:36:10 -0800
committerAndreas Huber <andih@google.com>2014-02-11 11:41:07 -0800
commit84333e0475bc911adc16417f4ca327c975cf6c36 (patch)
tree4973c505d7c73d883c2cd796bc66ba96312c4a7a /media/libstagefright/codecs/aacenc/basic_op/oper_32b.c
parent1d6fa7af1288b550faabe4ec2cf98684236723db (diff)
downloadframeworks_av-84333e0475bc911adc16417f4ca327c975cf6c36.zip
frameworks_av-84333e0475bc911adc16417f4ca327c975cf6c36.tar.gz
frameworks_av-84333e0475bc911adc16417f4ca327c975cf6c36.tar.bz2
warnings be gone.
Change-Id: Ie3bae3f037730e316d7fca12e7a3527973f752ef
Diffstat (limited to 'media/libstagefright/codecs/aacenc/basic_op/oper_32b.c')
-rw-r--r--media/libstagefright/codecs/aacenc/basic_op/oper_32b.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/media/libstagefright/codecs/aacenc/basic_op/oper_32b.c b/media/libstagefright/codecs/aacenc/basic_op/oper_32b.c
index cc01927..1d029fc 100644
--- a/media/libstagefright/codecs/aacenc/basic_op/oper_32b.c
+++ b/media/libstagefright/codecs/aacenc/basic_op/oper_32b.c
@@ -24,6 +24,8 @@
#include "basic_op.h"
#include "oper_32b.h"
+#define UNUSED(x) (void)(x)
+
/*****************************************************************************
* *
* Function L_Extract() *
@@ -243,6 +245,8 @@ Word16 iLog4(Word32 value)
Word32 rsqrt(Word32 value, /*!< Operand to square root (0.0 ... 1) */
Word32 accuracy) /*!< Number of valid bits that will be calculated */
{
+ UNUSED(accuracy);
+
Word32 root = 0;
Word32 scale;