projects
/
platform
/
upstream
/
libav.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a382b92
)
fixed 'file:' in URLs
author
Fabrice Bellard
<fabrice@bellard.org>
Fri, 29 Nov 2002 19:19:47 +0000
(19:19 +0000)
committer
Fabrice Bellard
<fabrice@bellard.org>
Fri, 29 Nov 2002 19:19:47 +0000
(19:19 +0000)
Originally committed as revision 1290 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavformat/file.c
patch
|
blob
|
history
diff --git
a/libavformat/file.c
b/libavformat/file.c
index
8206ff9
..
7390962
100644
(file)
--- a/
libavformat/file.c
+++ b/
libavformat/file.c
@@
-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 {