diff options
author | Anton Khirnov <anton@khirnov.net> | 2011-04-08 07:41:47 +0200 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2011-04-08 11:08:26 +0200 |
commit | f35ff97f2e572a6b02180b248f929541962ffdd3 (patch) | |
tree | 7a3cdb327cfbc4236e5e4fec53377dbeca663e13 /libavformat/concat.c | |
parent | a6aa7a1a14dc12d9d745e5d4a8a7feb38eb1c4da (diff) | |
download | ffmpeg-f35ff97f2e572a6b02180b248f929541962ffdd3.tar.gz |
lavf: use designated initializers for all protocols
This is more readable and makes it easier to reorder URLProtocol
members.
Diffstat (limited to 'libavformat/concat.c')
-rw-r--r-- | libavformat/concat.c | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/libavformat/concat.c b/libavformat/concat.c index dbacc6987a..da9bee2cc4 100644 --- a/libavformat/concat.c +++ b/libavformat/concat.c @@ -190,10 +190,9 @@ static int64_t concat_seek(URLContext *h, int64_t pos, int whence) } URLProtocol ff_concat_protocol = { - "concat", - concat_open, - concat_read, - NULL, - concat_seek, - concat_close, + .name = "concat", + .url_open = concat_open, + .url_read = concat_read, + .url_seek = concat_seek, + .url_close = concat_close, }; |