theoraenc: Specify array size

Fixes error: initialization of flexible array member is not allowed
This commit is contained in:
Edward Hervey 2012-03-30 12:02:37 +02:00
parent 5c83351510
commit c5d7bb8918

View File

@ -530,7 +530,7 @@ theora_enc_get_supported_formats (void)
static const struct static const struct
{ {
th_pixel_fmt pixelformat; th_pixel_fmt pixelformat;
const char fourcc[]; const char fourcc[5];
} formats[] = { } formats[] = {
{ {
TH_PF_420, "I420"}, { TH_PF_420, "I420"}, {