Commit 5756a6ee authored by ramiro's avatar ramiro

10l: removed pipe_close instead of pipe_read

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@10047 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent a30a2605
......@@ -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 = {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment