avcodec/psymodel: Fix () in AAC_CUTOFF() macro
authorMichael Niedermayer <michaelni@gmx.at>
Sun, 25 May 2014 19:41:57 +0000 (21:41 +0200)
committerMichael Niedermayer <michaelni@gmx.at>
Sun, 25 May 2014 19:41:57 +0000 (21:41 +0200)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavcodec/psymodel.h

index d1a126a..75261ba 100644 (file)
@@ -29,7 +29,7 @@
 /** maximum number of channels */
 #define PSY_MAX_CHANS 20
 
-#define AAC_CUTOFF(s) (s->bit_rate ? FFMIN3(4000 + s->bit_rate/8, 12000 + s->bit_rate/32, s->sample_rate / 2) : (s->sample_rate / 2))
+#define AAC_CUTOFF(s) ((s)->bit_rate ? FFMIN3(4000 + (s)->bit_rate/8, 12000 + (s)->bit_rate/32, (s)->sample_rate / 2) : ((s)->sample_rate / 2))
 
 /**
  * single band psychoacoustic information