Mercurial > libavformat.hg
changeset 2356:824b8284ce1a libavformat
10l: removed pipe_close instead of pipe_read
author | ramiro |
---|---|
date | Fri, 10 Aug 2007 01:39:26 +0000 |
parents | 5f8354bc9c33 |
children | e9d7db467cf0 |
files | file.c |
diffstat | 1 files changed, 2 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/file.c Fri Aug 10 00:13:50 2007 +0000 +++ b/file.c Fri Aug 10 01:39:26 2007 +0000 @@ -104,10 +104,9 @@ return 0; } -static int pipe_read(URLContext *h, unsigned char *buf, int size) +static int pipe_close(URLContext *h) { - int fd = (size_t)h->priv_data; - return read(fd, buf, size); + return 0; } URLProtocol pipe_protocol = {