avio: add support for passing options to protocols.
Not used anywhere yet, support for passing options from avio_open() will follow.
This commit is contained in:
@@ -100,7 +100,8 @@ static int gopher_open(URLContext *h, const char *uri, int flags)
|
||||
ff_url_join(buf, sizeof(buf), "tcp", NULL, hostname, port, NULL);
|
||||
|
||||
s->hd = NULL;
|
||||
err = ffurl_open(&s->hd, buf, AVIO_FLAG_READ_WRITE, &h->interrupt_callback);
|
||||
err = ffurl_open(&s->hd, buf, AVIO_FLAG_READ_WRITE,
|
||||
&h->interrupt_callback, NULL);
|
||||
if (err < 0)
|
||||
goto fail;
|
||||
|
||||
|
Reference in New Issue
Block a user