[FFmpeg-cvslog] dct-test: Fix initialization syntax

Vittorio Giovara git at videolan.org
Tue Feb 17 21:42:13 CET 2015


ffmpeg | branch: master | Vittorio Giovara <vittorio.giovara at gmail.com> | Fri Feb  6 18:38:44 2015 +0000| [d89e58f53939d91a88aa7042c94d9d1cd364da52] | committer: Vittorio Giovara

dct-test: Fix initialization syntax

Related to "warning: suggest braces around initialization of subobject".

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=d89e58f53939d91a88aa7042c94d9d1cd364da52
---

 libavcodec/dct-test.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/libavcodec/dct-test.c b/libavcodec/dct-test.c
index f337576..d3233f3 100644
--- a/libavcodec/dct-test.c
+++ b/libavcodec/dct-test.c
@@ -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



More information about the ffmpeg-cvslog mailing list