summaryrefslogtreecommitdiff
path: root/libavformat/md5proto.c
diff options
context:
space:
mode:
authorMartin Storsjö <martin@martin.st>2011-12-01 11:30:03 +0200
committerMartin Storsjö <martin@martin.st>2011-12-01 13:47:24 +0200
commit6af354436ca99324b6d35e8a7a24c1abf6667595 (patch)
tree32e6f42398a0f2f32774c5e071a78bbab8a816bb /libavformat/md5proto.c
parent1ca87d600bc069fe4cf497c410b4f794e88a122d (diff)
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: Martin Storsjö <martin@martin.st>
Diffstat (limited to 'libavformat/md5proto.c')
-rw-r--r--libavformat/md5proto.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/libavformat/md5proto.c b/libavformat/md5proto.c
index c580bfde80..796b4ea682 100644
--- a/libavformat/md5proto.c
+++ b/libavformat/md5proto.c
@@ -79,16 +79,11 @@ static int md5_close(URLContext *h)
return err;
}
-static int md5_get_handle(URLContext *h)
-{
- return (intptr_t)h->priv_data;
-}
URLProtocol ff_md5_protocol = {
.name = "md5",
.url_open = md5_open,
.url_write = md5_write,
.url_close = md5_close,
- .url_get_file_handle = md5_get_handle,
.priv_data_size = PRIV_SIZE,
};