theoraenc: Specify array size
Fixes error: initialization of flexible array member is not allowed
This commit is contained in:
parent
5c83351510
commit
c5d7bb8918
@ -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"}, {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user