From bb76a117b115e8c1335a7fd35f2998dc18895225 Mon Sep 17 00:00:00 2001 From: =?utf8?q?M=C3=A5ns=20Rullg=C3=A5rd?= Date: Sun, 6 Oct 2002 23:06:06 +0000 Subject: [PATCH] =?utf8?q?c=20syntax=20update=20patch=20by=20(mru=20at=20u?= =?utf8?q?sers=20dot=20sourceforge=20dot=20net=20(M=C3=A5ns=20Rullg=C3=A5r?= =?utf8?q?d))?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Originally committed as revision 1008 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libav/audio.c | 4 ++-- libav/grab.c | 2 +- libav/img.c | 10 +++++----- libav/jpeg.c | 6 +++--- libav/mpeg.c | 2 +- libav/mpegts.c | 2 +- libav/raw.c | 24 ++++++++++++------------ libav/rtp.c | 2 +- libav/rtsp.c | 2 +- 9 files changed, 27 insertions(+), 27 deletions(-) diff --git a/libav/audio.c b/libav/audio.c index 42f074d..bef3e46 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 4ad4e95..20cade3 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 ddb9c35..70bf2a1 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 cedd688..6a19db6 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 a5aa84b..8820c6e 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 4a5c65a..2947d96 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 1d52dde..d3ee287 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 0d99786..45ccc2c 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 53c8514..acacc5d 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) */ -- 2.7.4