diff options
author | Anton Khirnov | 2011-07-16 22:18:12 +0200 |
---|---|---|
committer | Anton Khirnov | 2011-07-17 06:58:37 +0200 |
commit | dfc2c4d900e48fa788ad9364ac408c01cfb62b94 (patch) | |
tree | eafdab4d3a81a427ddf30862f88af6a650eeaef0 /libavformat/mpc8.c | |
parent | 62709956677d648cbf340dccd4549fa62142cb7e (diff) |
lavf: use designated initialisers for all (de)muxers.
It's more readable and less prone to breakage.
Diffstat (limited to 'libavformat/mpc8.c')
-rw-r--r-- | libavformat/mpc8.c | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/libavformat/mpc8.c b/libavformat/mpc8.c index c4810f6eaf..d7a7d6a825 100644 --- a/libavformat/mpc8.c +++ b/libavformat/mpc8.c @@ -281,12 +281,11 @@ static int mpc8_read_seek(AVFormatContext *s, int stream_index, int64_t timestam AVInputFormat ff_mpc8_demuxer = { - "mpc8", - NULL_IF_CONFIG_SMALL("Musepack SV8"), - sizeof(MPCContext), - mpc8_probe, - mpc8_read_header, - mpc8_read_packet, - NULL, - mpc8_read_seek, + .name = "mpc8", + .long_name = NULL_IF_CONFIG_SMALL("Musepack SV8"), + .priv_data_size = sizeof(MPCContext), + .read_probe = mpc8_probe, + .read_header = mpc8_read_header, + .read_packet = mpc8_read_packet, + .read_seek = mpc8_read_seek, }; |