mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-12-13 02:20:07 +01:00
lavf: use designated initializers for all protocols
This is more readable and makes it easier to reorder URLProtocol members.
This commit is contained in:
@@ -121,10 +121,9 @@ static int gopher_read(URLContext *h, uint8_t *buf, int size)
|
||||
|
||||
|
||||
URLProtocol ff_gopher_protocol = {
|
||||
"gopher",
|
||||
gopher_open,
|
||||
gopher_read,
|
||||
gopher_write,
|
||||
NULL, /*seek*/
|
||||
gopher_close,
|
||||
.name = "gopher",
|
||||
.url_open = gopher_open,
|
||||
.url_read = gopher_read,
|
||||
.url_write = gopher_write,
|
||||
.url_close = gopher_close,
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user