aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2014-05-25 03:19:47 +0200
committerMichael Niedermayer <michaelni@gmx.at>2014-06-25 16:35:24 +0200
commit2f1f4070446e5407f562b2a3b8b675efae37e944 (patch)
treeca46b70ca8010843fd2024d816e3480c69eb3ec4
parentbdd2f7c7a7610e09c203b9eefcf1b06b7fc1633f (diff)
downloadffmpeg-2f1f4070446e5407f562b2a3b8b675efae37e944.tar.gz
avcodec/aac: fix () in IS_CODEBOOK_UNSIGNED macro
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> (cherry picked from commit fa915d4193e13187773c500b80c7df6baeb22c3b) Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-rw-r--r--libavcodec/aac.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/aac.h b/libavcodec/aac.h
index d586e271da..e24351eee0 100644
--- a/libavcodec/aac.h
+++ b/libavcodec/aac.h
@@ -81,7 +81,7 @@ enum BandType {
INTENSITY_BT = 15, ///< Scalefactor data are intensity stereo positions.
};
-#define IS_CODEBOOK_UNSIGNED(x) ((x - 1) & 10)
+#define IS_CODEBOOK_UNSIGNED(x) (((x) - 1) & 10)
enum ChannelPosition {
AAC_CHANNEL_OFF = 0,