summaryrefslogtreecommitdiffstats
path: root/libavcodec
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2014-05-25 21:41:57 +0200
committerMichael Niedermayer <michaelni@gmx.at>2014-05-25 21:41:57 +0200
commita45e6b7bc5ad3931ba880efd9b6b853240ab99bb (patch)
tree7dea8b99662cde71315da4174915a1f016df5c5e /libavcodec
parente5dc7439e33c44d1c524776d3b543aebaf2c04a4 (diff)
downloadffmpeg-streaming-a45e6b7bc5ad3931ba880efd9b6b853240ab99bb.zip
ffmpeg-streaming-a45e6b7bc5ad3931ba880efd9b6b853240ab99bb.tar.gz
avcodec/psymodel: Fix () in AAC_CUTOFF() macro
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec')
-rw-r--r--libavcodec/psymodel.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/psymodel.h b/libavcodec/psymodel.h
index d1a126a..75261ba 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
OpenPOWER on IntegriCloud