lavf: use designated initialisers for all (de)muxers.

It's more readable and less prone to breakage.
This commit is contained in:
Anton Khirnov
2011-07-16 22:18:12 +02:00
parent 6270995667
commit dfc2c4d900
132 changed files with 1311 additions and 1466 deletions

View File

@@ -208,15 +208,12 @@ static int avisynth_read_seek(AVFormatContext *s, int stream_index, int64_t pts,
}
AVInputFormat ff_avisynth_demuxer = {
"avs",
NULL_IF_CONFIG_SMALL("AVISynth"),
sizeof(AVISynthContext),
NULL,
avisynth_read_header,
avisynth_read_packet,
avisynth_read_close,
avisynth_read_seek,
NULL,
0,
"avs",
.name = "avs",
.long_name = NULL_IF_CONFIG_SMALL("AVISynth"),
.priv_data_size = sizeof(AVISynthContext),
.read_header = avisynth_read_header,
.read_packet = avisynth_read_packet,
.read_close = avisynth_read_close,
.read_seek = avisynth_read_seek,
.extensions = "avs",
};