aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRamiro Polla <ramiro.polla@gmail.com>2007-08-10 01:39:26 +0000
committerRamiro Polla <ramiro.polla@gmail.com>2007-08-10 01:39:26 +0000
commita12df245a4f0634cc23f01840aa253f9e46cef7a (patch)
tree7fcd8d22e3847a583b6cd2a27e8c981a24a01710
parentde2aeaef026b1396f7bd4d618805e836af7b812b (diff)
downloadffmpeg-a12df245a4f0634cc23f01840aa253f9e46cef7a.tar.gz
10l: removed pipe_close instead of pipe_read
Originally committed as revision 10047 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r--libavformat/file.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/libavformat/file.c b/libavformat/file.c
index 1eaf01c2ce..c03db02dcc 100644
--- a/libavformat/file.c
+++ b/libavformat/file.c
@@ -104,10 +104,9 @@ static int pipe_open(URLContext *h, const char *filename, int flags)
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 = {