diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2014-05-25 19:25:29 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2014-05-25 19:25:29 +0200 |
commit | d62a4707f92e58356a0d5459ca3a919bafe29280 (patch) | |
tree | d5ddba91d2b617c49585b0375a6ee1172a364a99 /libavcodec | |
parent | c163f5e601ca2f948ef1050eafecc0ee4f0e58a6 (diff) | |
download | ffmpeg-d62a4707f92e58356a0d5459ca3a919bafe29280.tar.gz |
avcodec/opus_celt: Fix () in CELT_PVQ_V macro
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec')
-rw-r--r-- | libavcodec/opus_celt.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/opus_celt.c b/libavcodec/opus_celt.c index c3830a048f..fad471beb6 100644 --- a/libavcodec/opus_celt.c +++ b/libavcodec/opus_celt.c @@ -1295,7 +1295,7 @@ static inline float celt_decode_pulses(OpusRangeCoder *rc, int *y, unsigned int { unsigned int idx; #define CELT_PVQ_U(n, k) (celt_pvq_u_row[FFMIN(n, k)][FFMAX(n, k)]) -#define CELT_PVQ_V(n, k) (CELT_PVQ_U(n, k) + CELT_PVQ_U(n, k + 1)) +#define CELT_PVQ_V(n, k) (CELT_PVQ_U(n, k) + CELT_PVQ_U(n, (k) + 1)) idx = opus_rc_unimodel(rc, CELT_PVQ_V(N, K)); return celt_cwrsi(N, K, idx, y); } |