Commit a45e6b7b authored by Michael Niedermayer's avatar Michael Niedermayer

avcodec/psymodel: Fix () in AAC_CUTOFF() macro

Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent e5dc7439
...@@ -29,7 +29,7 @@ ...@@ -29,7 +29,7 @@
/** maximum number of channels */ /** maximum number of channels */
#define PSY_MAX_CHANS 20 #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 * single band psychoacoustic information
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment