Fix pedantic compiler warnings
authorJohn Koleszar <jkoleszar@google.com>
Mon, 21 May 2012 21:30:56 +0000 (14:30 -0700)
committerJohn Koleszar <jkoleszar@google.com>
Mon, 11 Jun 2012 22:14:58 +0000 (15:14 -0700)
commit0164a1cc5b13909407587109effabea92e487986
treef490d9a5859ff362be0e9b074d078112ef573a84
parent30fb976e3e42b6bc8f9360437033d8ae22c5a2f4
Fix pedantic compiler warnings

Allows building the library with the gcc -pedantic option, for improved
portabilty. In particular, this commit removes usage of C99/C++ style
single-line comments and dynamic struct initializers. This is a
continuation of the work done in commit 97b766a46, which removed most
of these warnings for decode only builds.

Change-Id: Id453d9c1d9f44cc0381b10c3869fabb0184d5966
50 files changed:
libmkv/EbmlIDs.h
libmkv/EbmlWriter.c
libmkv/EbmlWriter.h
vp8/common/arm/neon/dc_only_idct_add_neon.asm
vp8/common/blockd.h
vp8/common/entropy.c
vp8/common/entropymode.h
vp8/common/extend.c
vp8/common/filter.h
vp8/common/onyx.h
vp8/common/postproc.c
vp8/common/variance_c.c
vp8/common/x86/postproc_x86.c
vp8/common/x86/variance_sse2.c
vp8/common/x86/variance_ssse3.c
vp8/decoder/decodframe.c
vp8/decoder/detokenize.c
vp8/decoder/threading.c
vp8/encoder/bitstream.c
vp8/encoder/block.h
vp8/encoder/boolhuff.h
vp8/encoder/denoising.c
vp8/encoder/denoising.h
vp8/encoder/encodeframe.c
vp8/encoder/encodemb.c
vp8/encoder/encodemv.c
vp8/encoder/ethreading.c
vp8/encoder/firstpass.c
vp8/encoder/lookahead.c
vp8/encoder/mcomp.c
vp8/encoder/mcomp.h
vp8/encoder/onyx_if.c
vp8/encoder/onyx_int.h
vp8/encoder/pickinter.c
vp8/encoder/picklpf.c
vp8/encoder/psnr.c
vp8/encoder/quantize.c
vp8/encoder/ratectrl.c
vp8/encoder/ratectrl.h
vp8/encoder/rdopt.c
vp8/encoder/segmentation.c
vp8/encoder/temporal_filter.c
vp8/encoder/x86/denoising_sse2.c
vp8/vp8_cx_iface.c
vp8_scalable_patterns.c
vpx_ports/asm_offsets.h
vpx_ports/mem_ops.h
vpx_ports/mem_ops_aligned.h
vpxdec.c
vpxenc.c