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

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
pull/72/head
Michael Niedermayer 11 years ago
parent e5dc7439e3
commit a45e6b7bc5
  1. 2
      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

Loading…
Cancel
Save