Commit 8a146551 authored by bellard's avatar bellard

fixed 'file:' in URLs


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@1290 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 49f0405c
......@@ -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