Commit cf7ff014 authored by Michael Niedermayer's avatar Michael Niedermayer

avcodec/mss4: Fix () in MKVAL() macro

Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent 6e720c5c
......@@ -363,7 +363,7 @@ static int get_value_cached(GetBitContext *gb, int vec_pos, uint8_t *vec,
return prev[component];
}
#define MKVAL(vals) (vals[0] | (vals[1] << 3) | (vals[2] << 6))
#define MKVAL(vals) ((vals)[0] | ((vals)[1] << 3) | ((vals)[2] << 6))
/* Image mode - the hardest to comprehend MSS4 coding mode.
*
......
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