diff mxfdec.c @ 6298:eb7e896070d9 libavformat

Zero-initialize structs/arrays with {0} instead of {}, which isn't proper C99 Patch by Axel Holzinger, aholzinger at gmx dot de
author mstorsjo
date Wed, 21 Jul 2010 17:27:28 +0000
parents ab29c8ff40d9
children
line wrap: on
line diff
--- a/mxfdec.c	Wed Jul 21 17:25:09 2010 +0000
+++ b/mxfdec.c	Wed Jul 21 17:27:28 2010 +0000
@@ -531,7 +531,7 @@
 static void mxf_read_pixel_layout(ByteIOContext *pb, MXFDescriptor *descriptor)
 {
     int code, value, ofs = 0;
-    char layout[16] = {};
+    char layout[16] = {0};
 
     do {
         code = get_byte(pb);