diff --git a/libav/audio.c b/libav/audio.c index 42f074d7be..bef3e466cc 100644 --- a/libav/audio.c +++ b/libav/audio.c @@ -280,7 +280,7 @@ AVInputFormat audio_in_format = { audio_read_header, audio_read_packet, audio_read_close, - flags: AVFMT_NOFILE, + .flags = AVFMT_NOFILE, }; AVOutputFormat audio_out_format = { @@ -301,7 +301,7 @@ AVOutputFormat audio_out_format = { audio_write_header, audio_write_packet, audio_write_trailer, - flags: AVFMT_NOFILE, + .flags = AVFMT_NOFILE, }; int audio_init(void) diff --git a/libav/grab.c b/libav/grab.c index 4ad4e95ed3..20cade387d 100644 --- a/libav/grab.c +++ b/libav/grab.c @@ -320,7 +320,7 @@ AVInputFormat video_grab_device_format = { grab_read_header, grab_read_packet, grab_read_close, - flags: AVFMT_NOFILE, + .flags = AVFMT_NOFILE, }; int video_grab_init(void) diff --git a/libav/img.c b/libav/img.c index ddb9c3545e..70bf2a180a 100644 --- a/libav/img.c +++ b/libav/img.c @@ -729,7 +729,7 @@ AVInputFormat pgm_iformat = { img_read_close, NULL, AVFMT_NOFILE | AVFMT_NEEDNUMBER, - extensions: "pgm", + .extensions = "pgm", }; AVOutputFormat pgm_oformat = { @@ -782,7 +782,7 @@ AVInputFormat ppm_iformat = { img_read_close, NULL, AVFMT_NOFILE | AVFMT_NEEDNUMBER | AVFMT_RGB24, - extensions: "ppm", + .extensions = "ppm", }; AVOutputFormat ppm_oformat = { @@ -809,7 +809,7 @@ AVInputFormat imgyuv_iformat = { img_read_close, NULL, AVFMT_NOFILE | AVFMT_NEEDNUMBER, - extensions: "Y", + .extensions = "Y", }; AVOutputFormat imgyuv_oformat = { @@ -883,7 +883,7 @@ AVInputFormat ppmpipe_iformat = { img_read_packet, img_read_close, NULL, - flags: AVFMT_RGB24, + .flags = AVFMT_RGB24, }; AVOutputFormat ppmpipe_oformat = { @@ -897,7 +897,7 @@ AVOutputFormat ppmpipe_oformat = { img_write_header, img_write_packet, img_write_trailer, - flags: AVFMT_RGB24, + .flags = AVFMT_RGB24, }; diff --git a/libav/jpeg.c b/libav/jpeg.c index cedd688e25..6a19db6d67 100644 --- a/libav/jpeg.c +++ b/libav/jpeg.c @@ -238,8 +238,8 @@ static AVInputFormat jpeg_iformat = { jpeg_read_packet, jpeg_read_close, NULL, - flags: AVFMT_NOFILE | AVFMT_NEEDNUMBER, - extensions: "jpg,jpeg", + .flags = AVFMT_NOFILE | AVFMT_NEEDNUMBER, + .extensions = "jpg,jpeg", }; static AVOutputFormat jpeg_oformat = { @@ -253,7 +253,7 @@ static AVOutputFormat jpeg_oformat = { jpeg_write_header, jpeg_write_packet, jpeg_write_trailer, - flags: AVFMT_NOFILE | AVFMT_NEEDNUMBER, + .flags = AVFMT_NOFILE | AVFMT_NEEDNUMBER, }; int jpeg_init(void) diff --git a/libav/mpeg.c b/libav/mpeg.c index a5aa84b1d8..8820c6ee91 100644 --- a/libav/mpeg.c +++ b/libav/mpeg.c @@ -647,7 +647,7 @@ static AVInputFormat mpegps_demux = { mpegps_read_header, mpegps_read_packet, mpegps_read_close, - flags: AVFMT_NOHEADER, + .flags = AVFMT_NOHEADER, }; int mpegps_init(void) diff --git a/libav/mpegts.c b/libav/mpegts.c index 4a5c65a71f..2947d960e8 100644 --- a/libav/mpegts.c +++ b/libav/mpegts.c @@ -306,7 +306,7 @@ AVInputFormat mpegts_demux = { mpegts_read_header, mpegts_read_packet, mpegts_read_close, - flags: AVFMT_NOHEADER | AVFMT_SHOW_IDS, + .flags = AVFMT_NOHEADER | AVFMT_SHOW_IDS, }; int mpegts_init(void) diff --git a/libav/raw.c b/libav/raw.c index 1d52dded78..d3ee287a52 100644 --- a/libav/raw.c +++ b/libav/raw.c @@ -185,7 +185,7 @@ AVInputFormat mp3_iformat = { mp3_read_header, raw_read_packet, raw_read_close, - extensions: "mp2,mp3", /* XXX: use probe */ + .extensions = "mp2,mp3", /* XXX: use probe */ }; AVOutputFormat mp2_oformat = { @@ -210,8 +210,8 @@ AVInputFormat ac3_iformat = { raw_read_header, raw_read_packet, raw_read_close, - extensions: "ac3", - value: CODEC_ID_AC3, + .extensions = "ac3", + .value = CODEC_ID_AC3, }; AVOutputFormat ac3_oformat = { @@ -248,8 +248,8 @@ AVInputFormat m4v_iformat = { video_read_header, raw_read_packet, raw_read_close, - extensions: "m4v", //FIXME remove after writing mpeg4_probe - value: CODEC_ID_MPEG4, + .extensions = "m4v", //FIXME remove after writing mpeg4_probe + .value = CODEC_ID_MPEG4, }; AVOutputFormat m4v_oformat = { @@ -273,7 +273,7 @@ AVInputFormat mpegvideo_iformat = { video_read_header, raw_read_packet, raw_read_close, - value: CODEC_ID_MPEG1VIDEO, + .value = CODEC_ID_MPEG1VIDEO, }; AVOutputFormat mpeg1video_oformat = { @@ -297,8 +297,8 @@ AVInputFormat mjpeg_iformat = { video_read_header, raw_read_packet, raw_read_close, - extensions: "mjpg,mjpeg", - value: CODEC_ID_MJPEG, + .extensions = "mjpg,mjpeg", + .value = CODEC_ID_MJPEG, }; AVOutputFormat mjpeg_oformat = { @@ -325,8 +325,8 @@ AVInputFormat pcm_ ## name ## _iformat = {\ raw_read_header,\ raw_read_packet,\ raw_read_close,\ - extensions: ext,\ - value: codec,\ + .extensions = ext,\ + .value = codec,\ };\ \ AVOutputFormat pcm_ ## name ## _oformat = {\ @@ -426,8 +426,8 @@ AVInputFormat rawvideo_iformat = { raw_read_header, rawvideo_read_packet, raw_read_close, - extensions: "yuv", - value: CODEC_ID_RAWVIDEO, + .extensions = "yuv", + .value = CODEC_ID_RAWVIDEO, }; AVOutputFormat rawvideo_oformat = { diff --git a/libav/rtp.c b/libav/rtp.c index 0d99786569..45ccc2c39d 100644 --- a/libav/rtp.c +++ b/libav/rtp.c @@ -630,7 +630,7 @@ AVInputFormat rtp_demux = { rtp_read_header, rtp_read_packet, rtp_read_close, - flags: AVFMT_NOHEADER, + .flags = AVFMT_NOHEADER, }; AVOutputFormat rtp_mux = { diff --git a/libav/rtsp.c b/libav/rtsp.c index 53c8514a62..acacc5de9c 100644 --- a/libav/rtsp.c +++ b/libav/rtsp.c @@ -818,7 +818,7 @@ static AVInputFormat rtsp_demux = { rtsp_read_header, rtsp_read_packet, rtsp_read_close, - flags: AVFMT_NOFILE, + .flags = AVFMT_NOFILE, }; /* dummy redirector format (used directly in av_open_input_file now) */