Commit 9babf137 authored by Michael Niedermayer's avatar Michael Niedermayer

avcodec/msvideo1enc: Fix () in MKRGB555() macro

Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent eb718f4c
......@@ -58,7 +58,7 @@ enum MSV1Mode{
#define SKIP_PREFIX 0x8400
#define SKIPS_MAX 0x03FF
#define MKRGB555(in, off) ((in[off] << 10) | (in[off + 1] << 5) | (in[off + 2]))
#define MKRGB555(in, off) (((in)[off] << 10) | ((in)[(off) + 1] << 5) | ((in)[(off) + 2]))
static const int remap[16] = { 0, 1, 4, 5, 2, 3, 6, 7, 8, 9, 12, 13, 10, 11, 14, 15 };
......
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