aboutsummaryrefslogtreecommitdiffstats
path: root/libFDK/include
diff options
context:
space:
mode:
authorFraunhofer IIS FDK <audio-fdk@iis.fraunhofer.de>2019-11-13 16:09:45 +0100
committerJean-Michel Trivi <jmtrivi@google.com>2020-01-22 11:59:08 -0800
commite323bf6cabad6cafd31fc77c4d8c14bb48ea71e1 (patch)
treecabf9349a55b8c748dc5771863b01feab219f7bd /libFDK/include
parentcee316ab3ebde92047b5e76d15c00768b92cb890 (diff)
downloadfdk-aac-e323bf6cabad6cafd31fc77c4d8c14bb48ea71e1.tar.gz
fdk-aac-e323bf6cabad6cafd31fc77c4d8c14bb48ea71e1.tar.bz2
fdk-aac-e323bf6cabad6cafd31fc77c4d8c14bb48ea71e1.zip
Avoid undefined shift exponent in f2Pow().
Bug: 146938418 Test: atest DecoderTestXheAac ; atest DecoderTestAacDrc Change-Id: Id28608e049244968158900848c23bf7a8298083d
Diffstat (limited to 'libFDK/include')
-rw-r--r--libFDK/include/fixpoint_math.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libFDK/include/fixpoint_math.h b/libFDK/include/fixpoint_math.h
index 373eec1..51df4d7 100644
--- a/libFDK/include/fixpoint_math.h
+++ b/libFDK/include/fixpoint_math.h
@@ -775,7 +775,7 @@ FIXP_DBL fPow(FIXP_DBL base_m, INT base_e, FIXP_DBL exp_m, INT exp_e,
/**
* \brief return (base_m * 2^base_e) ^ N
- * \param base_m mantissa of the base
+ * \param base_m mantissa of the base. Must not be negative.
* \param base_e exponent of the base
* \param N power to be calculated of the base
* \param result_e pointer to a INT where the exponent of the result will be