dct-test: Fix initialization syntax
authorVittorio Giovara <vittorio.giovara@gmail.com>
Fri, 6 Feb 2015 18:38:44 +0000 (18:38 +0000)
committerVittorio Giovara <vittorio.giovara@gmail.com>
Tue, 17 Feb 2015 16:27:42 +0000 (11:27 -0500)
Related to "warning: suggest braces around initialization of subobject".

libavcodec/dct-test.c

index f337576..d3233f3 100644 (file)
@@ -84,8 +84,8 @@ static const struct algo idct_tab[] = {
 #elif ARCH_X86
 #include "x86/dct-test.c"
 #else
-static const struct algo fdct_tab_arch[] = { 0 };
-static const struct algo idct_tab_arch[] = { 0 };
+static const struct algo fdct_tab_arch[] = { { 0 } };
+static const struct algo idct_tab_arch[] = { { 0 } };
 #endif
 
 #define AANSCALE_BITS 12