[FFmpeg-cvslog] avcodec/aac: fix () in IS_CODEBOOK_UNSIGNED macro

Michael Niedermayer git at videolan.org
Wed Jun 25 17:01:42 CEST 2014


ffmpeg | branch: release/2.0 | Michael Niedermayer <michaelni at gmx.at> | Sun May 25 03:19:47 2014 +0200| [2f1f4070446e5407f562b2a3b8b675efae37e944] | 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=2f1f4070446e5407f562b2a3b8b675efae37e944
---

 libavcodec/aac.h |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavcodec/aac.h b/libavcodec/aac.h
index d586e27..e24351e 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