From c5d7bb8918f3598686361bc11c4f7b5c9cef4653 Mon Sep 17 00:00:00 2001 From: Edward Hervey Date: Fri, 30 Mar 2012 12:02:37 +0200 Subject: [PATCH] theoraenc: Specify array size Fixes error: initialization of flexible array member is not allowed --- ext/theora/gsttheoraenc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ext/theora/gsttheoraenc.c b/ext/theora/gsttheoraenc.c index bb784c3001..8fba25bb8c 100644 --- a/ext/theora/gsttheoraenc.c +++ b/ext/theora/gsttheoraenc.c @@ -530,7 +530,7 @@ theora_enc_get_supported_formats (void) static const struct { th_pixel_fmt pixelformat; - const char fourcc[]; + const char fourcc[5]; } formats[] = { { TH_PF_420, "I420"}, {