assrender: Fix compiler warning in test

error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces]
This commit is contained in:
Sebastian Dröge 2014-02-08 20:07:16 +01:00
parent 15e0db90e8
commit 6f178ea8dc

View File

@ -65,7 +65,7 @@ typedef struct
static const TestBuffer buf0 = { static const TestBuffer buf0 = {
0, 0,
0, 0,
"[Script Info]\n" {"[Script Info]\n"
"; This is a Sub Station Alpha v4 script.\n" "; This is a Sub Station Alpha v4 script.\n"
"; For Sub Station Alpha info and downloads,\n" "; For Sub Station Alpha info and downloads,\n"
"; go to http://www.eswat.demon.co.uk/\n" "; go to http://www.eswat.demon.co.uk/\n"
@ -83,13 +83,13 @@ static const TestBuffer buf0 = {
"Style: DefaultVCD, Arial,28,11861244,11861244,11861244,-2147483640,-1,0,1,1,2,2,30,30,30,0,0\n" "Style: DefaultVCD, Arial,28,11861244,11861244,11861244,-2147483640,-1,0,1,1,2,2,30,30,30,0,0\n"
" \n" " \n"
"[Events]\n" "[Events]\n"
"Format: Marked, Start, End, Style, Name, MarginL, MarginR, MarginV, Effect, Text" "Format: Marked, Start, End, Style, Name, MarginL, MarginR, MarginV, Effect, Text"}
}; };
static const TestBuffer buf1 = { static const TestBuffer buf1 = {
40 * GST_MSECOND, 40 * GST_MSECOND,
60 * GST_MSECOND, 60 * GST_MSECOND,
"1,,DefaultVCD, NTP,0000,0000,0000,,Some Test Blabla" {"1,,DefaultVCD, NTP,0000,0000,0000,,Some Test Blabla"}
}; };
static void static void