Commit a1dfc201 authored by Fabrice Bellard's avatar Fabrice Bellard

fixed 'file:' in URLs

Originally committed as revision 1290 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent a382b927
......@@ -35,6 +35,8 @@ static int file_open(URLContext *h, const char *filename, int flags)
int access;
int fd;
strstart(filename, "file:", &filename);
if (flags & URL_WRONLY) {
access = O_CREAT | O_TRUNC | O_WRONLY;
} else {
......
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