diff options
author | John Koleszar <jkoleszar@google.com> | 2012-05-21 14:30:56 -0700 |
---|---|---|
committer | John Koleszar <jkoleszar@google.com> | 2012-06-11 15:14:58 -0700 |
commit | 0164a1cc5b13909407587109effabea92e487986 (patch) | |
tree | f490d9a5859ff362be0e9b074d078112ef573a84 /vp8/common/x86/variance_sse2.c | |
parent | 30fb976e3e42b6bc8f9360437033d8ae22c5a2f4 (diff) | |
download | libvpx-0164a1cc5b13909407587109effabea92e487986.tar libvpx-0164a1cc5b13909407587109effabea92e487986.tar.gz libvpx-0164a1cc5b13909407587109effabea92e487986.tar.bz2 libvpx-0164a1cc5b13909407587109effabea92e487986.zip |
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
Diffstat (limited to 'vp8/common/x86/variance_sse2.c')
-rw-r--r-- | vp8/common/x86/variance_sse2.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/vp8/common/x86/variance_sse2.c b/vp8/common/x86/variance_sse2.c index 2769a302b..afd642915 100644 --- a/vp8/common/x86/variance_sse2.c +++ b/vp8/common/x86/variance_sse2.c @@ -332,8 +332,9 @@ unsigned int vp8_sub_pixel_variance16x16_wmt unsigned int xxsum0, xxsum1; - // note we could avoid these if statements if the calling function - // just called the appropriate functions inside. + /* note we could avoid these if statements if the calling function + * just called the appropriate functions inside. + */ if (xoffset == 4 && yoffset == 0) { vp8_half_horiz_variance16x_h_sse2( |