diff options
-rw-r--r-- | libavformat/file.c | 5 |
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 = { |