From 4bd4510b19f6bdf21bfdc7350e9d3eab2db9c6b8 Mon Sep 17 00:00:00 2001 From: Glenn Kasten Date: Wed, 6 Apr 2016 08:54:07 -0700 Subject: Left shift of negative int is undefined Bug: 28026175 Change-Id: I9dc851b818262e95711033bdc03b7b7f30cff133 --- libAACenc/src/metadata_compressor.cpp | 50 +++++++++++++++++------------------ 1 file changed, 25 insertions(+), 25 deletions(-) diff --git a/libAACenc/src/metadata_compressor.cpp b/libAACenc/src/metadata_compressor.cpp index 876de57..68a64ae 100644 --- a/libAACenc/src/metadata_compressor.cpp +++ b/libAACenc/src/metadata_compressor.cpp @@ -193,36 +193,36 @@ struct DRC_COMP { * Profile tables. */ static const FIXP_DBL tabMaxBoostThr[] = { - (FIXP_DBL)(-43<channels = channelMapping.nChannels; /* Init states. */ - drcComp->smoothLevel[0] = drcComp->smoothLevel[1] = (FIXP_DBL)(-135<smoothLevel[0] = drcComp->smoothLevel[1] = (FIXP_DBL)(int)((unsigned)-135<smoothGain, sizeof(drcComp->smoothGain)); FDKmemclear(drcComp->holdCnt, sizeof(drcComp->holdCnt)); -- cgit v1.2.3