mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
avcodec/psymodel: Fix () in AAC_CUTOFF() macro
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
e5dc7439e3
commit
a45e6b7bc5
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user