10l: removed pipe_close instead of pipe_read
authorRamiro Polla <ramiro.polla@gmail.com>
Fri, 10 Aug 2007 01:39:26 +0000 (01:39 +0000)
committerRamiro Polla <ramiro.polla@gmail.com>
Fri, 10 Aug 2007 01:39:26 +0000 (01:39 +0000)
Originally committed as revision 10047 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavformat/file.c

index 1eaf01c..c03db02 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 = {