changeset 1208:c199d552d934 libavformat

use parenthesis around value
author bcoudurier
date Sun, 30 Jul 2006 15:30:00 +0000
parents 633aaf52d0c2
children 46ccac3e2b32
files mxf.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/mxf.c	Sun Jul 30 14:44:38 2006 +0000
+++ b/mxf.c	Sun Jul 30 15:30:00 2006 +0000
@@ -165,7 +165,7 @@
 #define IS_KLV_KEY(x, y) (!memcmp(x, y, sizeof(y)))
 
 #define PRINT_KEY(x) dprintf("%02X %02X %02X %02X %02X %02X %02X %02X %02X %02X %02X %02X %02X %02X %02X %02X\n", \
-                             x[0], x[1], x[2], x[3], x[4], x[5], x[6], x[7], x[8], x[9], x[10], x[11], x[12], x[13], x[14], x[15])
+                             (x)[0], (x)[1], (x)[2], (x)[3], (x)[4], (x)[5], (x)[6], (x)[7], (x)[8], (x)[9], (x)[10], (x)[11], (x)[12], (x)[13], (x)[14], (x)[15])
 
 static int64_t klv_decode_ber_length(ByteIOContext *pb)
 {