]> rtime.felk.cvut.cz Git - frescor/ffmpeg.git/blobdiff - libavformat/file.c
10l: removed pipe_close instead of pipe_read
[frescor/ffmpeg.git] / libavformat / file.c
index 1eaf01c2ced635f2dbca58a79ffcd3caffb67ab4..c03db02dcc8fddf9644658d854e08ccdab183e30 100644 (file)
@@ -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 = {