From f35ff97f2e572a6b02180b248f929541962ffdd3 Mon Sep 17 00:00:00 2001 From: Anton Khirnov Date: Fri, 8 Apr 2011 07:41:47 +0200 Subject: lavf: use designated initializers for all protocols This is more readable and makes it easier to reorder URLProtocol members. --- libavformat/concat.c | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) (limited to 'libavformat/concat.c') 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, }; -- cgit v1.2.3