diff options
author | Carl Eugen Hoyos <cehoyos@ag.or.at> | 2014-10-16 12:01:26 +0200 |
---|---|---|
committer | Carl Eugen Hoyos <cehoyos@ag.or.at> | 2014-10-16 12:01:26 +0200 |
commit | 392b4b663c450f5522f7c1442da91f7647db6bf0 (patch) | |
tree | 3297fd65a9edb33e2313612d88c18943bd4df7ff | |
parent | 0e406aba14a89e94b31afde02b6bc0f456b113f5 (diff) | |
download | ffmpeg-392b4b663c450f5522f7c1442da91f7647db6bf0.tar.gz |
Fix initialisers in dct-test.c.
Silences a warning when running fate on unusual platforms:
libavcodec/dct-test.c:101:21: warning: missing braces around initializer [-Wmissing-braces]
libavcodec/dct-test.c:101:21: warning: (near initialization for 'fdct_tab_arch[0]') [-Wmissing-braces]
libavcodec/dct-test.c:102:21: warning: missing braces around initializer [-Wmissing-braces]
libavcodec/dct-test.c:102:21: warning: (near initialization for 'idct_tab_arch[0]') [-Wmissing-braces]
-rw-r--r-- | libavcodec/dct-test.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/dct-test.c b/libavcodec/dct-test.c index 1739c37bee..30eca3e818 100644 --- a/libavcodec/dct-test.c +++ b/libavcodec/dct-test.c @@ -98,8 +98,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 |