Commit 6e720c5c authored by Michael Niedermayer's avatar Michael Niedermayer

avcodec/mss34dsp: fix () in SOP* macros

Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent fa160af0
...@@ -84,8 +84,8 @@ void ff_mss34_gen_quant_mat(uint16_t *qmat, int quality, int luma) ...@@ -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[6 * step] = (-(t3 + t7) + t8 + tA) >> shift; \
blk[7 * step] = (-(t1 + t6) + t9 + tB) >> shift; \ blk[7 * step] = (-(t1 + t6) + t9 + tB) >> shift; \
#define SOP_ROW(a) ((a) << 16) + 0x2000 #define SOP_ROW(a) (((a) << 16) + 0x2000)
#define SOP_COL(a) ((a + 32) << 16) #define SOP_COL(a) (((a) + 32) << 16)
void ff_mss34_dct_put(uint8_t *dst, int stride, int *block) void ff_mss34_dct_put(uint8_t *dst, int stride, int *block)
{ {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment