Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2015-02-17 00:56:09 +0300
committerMichael Niedermayer <michaelni@gmx.at>2015-02-17 01:09:09 +0300
commit17a62cbcb9ee98774797334095ed46780406752e (patch)
tree0ce6c7da949b478cf1becd705f84aaa79250587a /libavcodec/bmvvideo.c
parent37013fd018ae02679f177f42245f3e0e3c12d587 (diff)
avcodec/bmvvideo: Add () to protect NEXT_BYTE() argument
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/bmvvideo.c')
-rw-r--r--libavcodec/bmvvideo.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/bmvvideo.c b/libavcodec/bmvvideo.c
index 5143b2a76b..76a3d6f1f6 100644
--- a/libavcodec/bmvvideo.c
+++ b/libavcodec/bmvvideo.c
@@ -51,7 +51,7 @@ typedef struct BMVDecContext {
const uint8_t *stream;
} BMVDecContext;
-#define NEXT_BYTE(v) v = forward ? v + 1 : v - 1;
+#define NEXT_BYTE(v) (v) = forward ? (v) + 1 : (v) - 1;
static int decode_bmv_frame(const uint8_t *source, int src_len, uint8_t *frame, int frame_off)
{