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

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
Michael Niedermayer 2014-05-25 21:41:57 +02:00
parent e5dc7439e3
commit a45e6b7bc5
1 changed files with 1 additions and 1 deletions

View 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