From 6af354436ca99324b6d35e8a7a24c1abf6667595 Mon Sep 17 00:00:00 2001 From: Martin Storsjö Date: Thu, 1 Dec 2011 11:30:03 +0200 Subject: md5proto: Remove the get_file_handle function MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The private data pointer isn't a file handle, this protocol doesn't have any file handle to return. Signed-off-by: Martin Storsjö --- libavformat/md5proto.c | 5 ----- 1 file changed, 5 deletions(-) (limited to 'libavformat') 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, }; -- cgit v1.2.3