Commit 392b4b66 authored by Carl Eugen Hoyos's avatar Carl Eugen Hoyos

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]
parent 0e406aba
...@@ -98,8 +98,8 @@ static const struct algo idct_tab[] = { ...@@ -98,8 +98,8 @@ static const struct algo idct_tab[] = {
#elif ARCH_X86 #elif ARCH_X86
#include "x86/dct-test.c" #include "x86/dct-test.c"
#else #else
static const struct algo fdct_tab_arch[] = { 0 }; static const struct algo fdct_tab_arch[] = { { 0 } };
static const struct algo idct_tab_arch[] = { 0 }; static const struct algo idct_tab_arch[] = { { 0 } };
#endif #endif
#define AANSCALE_BITS 12 #define AANSCALE_BITS 12
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment