diff options
author | Axel Holzinger <aholzinger@gmx.de> | 2010-07-21 17:27:28 +0000 |
---|---|---|
committer | Martin Storsjö <martin@martin.st> | 2010-07-21 17:27:28 +0000 |
commit | 354b757300186ed7a7e36682e8faf5cdc4ad63c1 (patch) | |
tree | 66a43a413193fd00274bbe2827780465b1b9191a /libavformat/mxfdec.c | |
parent | 4f5340a0b11c68dfa95e125df91ebeef3ec6503b (diff) | |
download | ffmpeg-354b757300186ed7a7e36682e8faf5cdc4ad63c1.tar.gz |
Zero-initialize structs/arrays with {0} instead of {}, which isn't proper C99
Patch by Axel Holzinger, aholzinger at gmx dot de
Originally committed as revision 24391 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/mxfdec.c')
-rw-r--r-- | libavformat/mxfdec.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/mxfdec.c b/libavformat/mxfdec.c index 7bca6874da..ac5ea4bb36 100644 --- a/libavformat/mxfdec.c +++ b/libavformat/mxfdec.c @@ -531,7 +531,7 @@ static int mxf_read_index_table_segment(void *arg, ByteIOContext *pb, int tag, i 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); |