diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2014-05-25 21:41:57 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2014-05-25 21:41:57 +0200 |
commit | a45e6b7bc5ad3931ba880efd9b6b853240ab99bb (patch) | |
tree | 7dea8b99662cde71315da4174915a1f016df5c5e /libavcodec/psymodel.h | |
parent | e5dc7439e33c44d1c524776d3b543aebaf2c04a4 (diff) | |
download | ffmpeg-a45e6b7bc5ad3931ba880efd9b6b853240ab99bb.tar.gz |
avcodec/psymodel: Fix () in AAC_CUTOFF() macro
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/psymodel.h')
-rw-r--r-- | libavcodec/psymodel.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/psymodel.h b/libavcodec/psymodel.h index d1a126a88f..75261ba4be 100644 --- a/libavcodec/psymodel.h +++ b/libavcodec/psymodel.h @@ -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 |