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-23 18:17:42 +0200
commitb2b4df8d51b3636776fb68e0aca8261c232ea417 (patch)
tree3a5102f234238468b438385c3696e2076f2158fa
parent5691d9a6c1290597b7c66f26da060c2f94fafee7 (diff)
downloadffmpeg-b2b4df8d51b3636776fb68e0aca8261c232ea417.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,