summaryrefslogtreecommitdiff
path: root/libavformat/act.c
diff options
context:
space:
mode:
authorAurelien Jacobs <aurel@gnuage.org>2011-09-26 00:19:56 +0200
committerAurelien Jacobs <aurel@gnuage.org>2011-09-26 00:22:41 +0200
commitc894449fc4a5a3d1ff1530318a015b0f0d0d5558 (patch)
treee3e80fa9eceb5321fca21819df48c1bb48e84617 /libavformat/act.c
parentf85c9b77712214373d09e7d608e6a9dd3b465f5e (diff)
act, bintext, wtvenc: use named struct initializers
Diffstat (limited to 'libavformat/act.c')
-rw-r--r--libavformat/act.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/libavformat/act.c b/libavformat/act.c
index 4ed6b2e5c2..8dc6eb7f1c 100644
--- a/libavformat/act.c
+++ b/libavformat/act.c
@@ -198,10 +198,10 @@ static int read_packet(AVFormatContext *s,
}
AVInputFormat ff_act_demuxer = {
- "act",
- "ACT Voice file format",
- sizeof(ACTContext),
- probe,
- read_header,
- read_packet
+ .name = "act",
+ .long_name = "ACT Voice file format",
+ .priv_data_size = sizeof(ACTContext),
+ .read_probe = probe,
+ .read_header = read_header,
+ .read_packet = read_packet,
};