This website works better with JavaScript.
Home
Help
Sign In
falkTX
/
FFmpeg
mirror of
https://github.com/falkTX/FFmpeg.git
Watch
1
Star
0
Fork
0
Code
Issues
0
Releases
338
Wiki
Activity
Browse Source
fixed 'file:' in URLs
Originally committed as revision 1290 to svn://svn.ffmpeg.org/ffmpeg/trunk
tags/v0.5
Fabrice Bellard
22 years ago
parent
a382b927ed
commit
a1dfc201bd
1 changed files
with
2 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+2
-0
libavformat/file.c
+ 2
- 0
libavformat/file.c
View File
@@ -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 {
Write
Preview
Loading…
Cancel
Save