Commit 0b918bf7 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

Fix flexible array usage gcc-ism

(cherry picked from commit 74bc4880)

Conflicts:

	src/stream_output/sap.c
parent d82c2907
...@@ -212,7 +212,7 @@ struct sdp_t ...@@ -212,7 +212,7 @@ struct sdp_t
struct attribute_t struct attribute_t
{ {
const char *value; const char *value;
char name[0]; char name[];
}; };
struct sap_announce_t struct sap_announce_t
......
...@@ -40,7 +40,7 @@ struct block_sys_t ...@@ -40,7 +40,7 @@ struct block_sys_t
{ {
block_t self; block_t self;
size_t i_allocated_buffer; size_t i_allocated_buffer;
uint8_t p_allocated_buffer[0]; uint8_t p_allocated_buffer[];
}; };
#ifndef NDEBUG #ifndef NDEBUG
......
...@@ -129,7 +129,7 @@ typedef struct ...@@ -129,7 +129,7 @@ typedef struct
{ {
int argc; int argc;
int enqueue; int enqueue;
char data[0]; char data[];
} vlc_ipc_data_t; } vlc_ipc_data_t;
void system_Configure( libvlc_int_t *p_this, int *pi_argc, const char *ppsz_argv[] ) void system_Configure( libvlc_int_t *p_this, int *pi_argc, const char *ppsz_argv[] )
......
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