diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2014-05-25 05:19:09 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2014-06-23 18:17:42 +0200 |
commit | d13cf32099faa419a4e0e1b7722d98411b0b2586 (patch) | |
tree | b86a921a826d367408c0fdf861a69a3aa4a5319f | |
parent | 5626e11bd553163530c9450667f8779b19ab23cd (diff) | |
download | ffmpeg-d13cf32099faa419a4e0e1b7722d98411b0b2586.tar.gz |
avcodec/mss4: Fix () in MKVAL() macro
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
(cherry picked from commit cf7ff0146c76b93c32edf5230a28b9590acf5105)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-rw-r--r-- | libavcodec/mss4.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/mss4.c b/libavcodec/mss4.c index 977e1e5552..f2a8aa6a8b 100644 --- a/libavcodec/mss4.c +++ b/libavcodec/mss4.c @@ -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. * |