提交 a1dfc201 编写于 作者: F Fabrice Bellard

fixed 'file:' in URLs

Originally committed as revision 1290 to svn://svn.ffmpeg.org/ffmpeg/trunk
上级 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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册