diff options
Diffstat (limited to 'libavformat/cdg.c')
-rw-r--r-- | libavformat/cdg.c | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/libavformat/cdg.c b/libavformat/cdg.c index b47a20e06a..150496762b 100644 --- a/libavformat/cdg.c +++ b/libavformat/cdg.c @@ -56,11 +56,9 @@ static int read_packet(AVFormatContext *s, AVPacket *pkt) } AVInputFormat ff_cdg_demuxer = { - "cdg", - NULL_IF_CONFIG_SMALL("CD Graphics Format"), - 0, - NULL, - read_header, - read_packet, + .name = "cdg", + .long_name = NULL_IF_CONFIG_SMALL("CD Graphics Format"), + .read_header = read_header, + .read_packet = read_packet, .extensions = "cdg" }; |