projects
/
platform
/
upstream
/
libav.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1ca87d6
)
md5proto: Remove the get_file_handle function
author
Martin Storsjö
<martin@martin.st>
Thu, 1 Dec 2011 09:30:03 +0000
(11:30 +0200)
committer
Martin Storsjö
<martin@martin.st>
Thu, 1 Dec 2011 11:47:24 +0000
(13:47 +0200)
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>
libavformat/md5proto.c
patch
|
blob
|
history
diff --git
a/libavformat/md5proto.c
b/libavformat/md5proto.c
index
c580bfd
..
796b4ea
100644
(file)
--- 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,
};