[FFmpeg-cvslog] avcodec/aac: fix () in IS_CODEBOOK_UNSIGNED macro
Michael Niedermayer
git at videolan.org
Mon Jun 2 23:06:52 CEST 2014
ffmpeg | branch: release/2.2 | Michael Niedermayer <michaelni at gmx.at> | Sun May 25 03:19:47 2014 +0200| [ba88a6e4e442e936794dfb3a25387799aab56050] | committer: Michael Niedermayer
avcodec/aac: fix () in IS_CODEBOOK_UNSIGNED macro
Signed-off-by: Michael Niedermayer <michaelni at gmx.at>
(cherry picked from commit fa915d4193e13187773c500b80c7df6baeb22c3b)
Signed-off-by: Michael Niedermayer <michaelni at gmx.at>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=ba88a6e4e442e936794dfb3a25387799aab56050
---
libavcodec/aac.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavcodec/aac.h b/libavcodec/aac.h
index 89f463e..1bcd95c 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,
More information about the ffmpeg-cvslog
mailing list