diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2014-05-25 05:18:47 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2014-06-23 18:17:42 +0200 |
commit | 5626e11bd553163530c9450667f8779b19ab23cd (patch) | |
tree | ce53b3bee759918f58ed25843101ac573332e7a5 | |
parent | 8d1f38c4b1eb737f4a764f955f1b51fa4621c510 (diff) | |
download | ffmpeg-5626e11bd553163530c9450667f8779b19ab23cd.tar.gz |
avcodec/mss34dsp: fix () in SOP* macros
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
(cherry picked from commit 6e720c5c815e510188a0bda654662383f2c48050)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-rw-r--r-- | libavcodec/mss34dsp.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/mss34dsp.c b/libavcodec/mss34dsp.c index e4d4299805..0397add17d 100644 --- a/libavcodec/mss34dsp.c +++ b/libavcodec/mss34dsp.c @@ -84,8 +84,8 @@ void ff_mss34_gen_quant_mat(uint16_t *qmat, int quality, int luma) blk[6 * step] = (-(t3 + t7) + t8 + tA) >> shift; \ blk[7 * step] = (-(t1 + t6) + t9 + tB) >> shift; \ -#define SOP_ROW(a) ((a) << 16) + 0x2000 -#define SOP_COL(a) ((a + 32) << 16) +#define SOP_ROW(a) (((a) << 16) + 0x2000) +#define SOP_COL(a) (((a) + 32) << 16) void ff_mss34_dct_put(uint8_t *dst, int stride, int *block) { |