Commit 6af35443 authored by Martin Storsjö's avatar Martin Storsjö

md5proto: Remove the get_file_handle function

The private data pointer isn't a file handle, this protocol
doesn't have any file handle to return.
Signed-off-by: 's avatarMartin Storsjö <martin@martin.st>
parent 1ca87d60
...@@ -79,16 +79,11 @@ static int md5_close(URLContext *h) ...@@ -79,16 +79,11 @@ static int md5_close(URLContext *h)
return err; return err;
} }
static int md5_get_handle(URLContext *h)
{
return (intptr_t)h->priv_data;
}
URLProtocol ff_md5_protocol = { URLProtocol ff_md5_protocol = {
.name = "md5", .name = "md5",
.url_open = md5_open, .url_open = md5_open,
.url_write = md5_write, .url_write = md5_write,
.url_close = md5_close, .url_close = md5_close,
.url_get_file_handle = md5_get_handle,
.priv_data_size = PRIV_SIZE, .priv_data_size = PRIV_SIZE,
}; };
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment