diff options
author | Aurelien Jacobs <aurel@gnuage.org> | 2010-12-04 00:37:53 +0000 |
---|---|---|
committer | Aurelien Jacobs <aurel@gnuage.org> | 2010-12-04 00:37:53 +0000 |
commit | 87d69d323204e69e49abaa1e0e9033296cb2a539 (patch) | |
tree | a469b4fdc5c9e5aa3c25b03708ed8d6bc45c79a8 /libavformat/assdec.c | |
parent | 6fbd85edc8df1e81f85c06bf184d2b6638b140a5 (diff) | |
download | ffmpeg-87d69d323204e69e49abaa1e0e9033296cb2a539.tar.gz |
use designated initializer in ASS (de)muxer
Originally committed as revision 25868 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/assdec.c')
-rw-r--r-- | libavformat/assdec.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/libavformat/assdec.c b/libavformat/assdec.c index 9f03b88491..ffce157995 100644 --- a/libavformat/assdec.c +++ b/libavformat/assdec.c @@ -203,12 +203,12 @@ static int read_seek2(AVFormatContext *s, int stream_index, } AVInputFormat ass_demuxer = { - "ass", - NULL_IF_CONFIG_SMALL("Advanced SubStation Alpha subtitle format"), - sizeof(ASSContext), - probe, - read_header, - read_packet, - read_close, - .read_seek2 = read_seek2, + .name = "ass", + .long_name = NULL_IF_CONFIG_SMALL("Advanced SubStation Alpha subtitle format"), + .priv_data_size = sizeof(ASSContext), + .read_probe = probe, + .read_header = read_header, + .read_packet = read_packet, + .read_close = read_close, + .read_seek2 = read_seek2, }; |