oggdec: use explicit AVInputFormat struct initializers

Signed-off-by: Diego Biurrun <diego@biurrun.de>
This commit is contained in:
Clément Bœsch 2011-05-11 20:43:31 +02:00 committed by Diego Biurrun
parent f95257d27c
commit b3bbc6fdc5
1 changed files with 11 additions and 11 deletions

View File

@ -648,15 +648,15 @@ static int ogg_probe(AVProbeData *p)
} }
AVInputFormat ff_ogg_demuxer = { AVInputFormat ff_ogg_demuxer = {
"ogg", .name = "ogg",
NULL_IF_CONFIG_SMALL("Ogg"), .long_name = NULL_IF_CONFIG_SMALL("Ogg"),
sizeof (struct ogg), .priv_data_size = sizeof(struct ogg),
ogg_probe, .read_probe = ogg_probe,
ogg_read_header, .read_header = ogg_read_header,
ogg_read_packet, .read_packet = ogg_read_packet,
ogg_read_close, .read_close = ogg_read_close,
ogg_read_seek, .read_seek = ogg_read_seek,
ogg_read_timestamp, .read_timestamp = ogg_read_timestamp,
.extensions = "ogg", .extensions = "ogg",
.flags = AVFMT_GENERIC_INDEX, .flags = AVFMT_GENERIC_INDEX,
}; };