You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-09-16 08:36:51 +02:00
fixed 'file:' in URLs
Originally committed as revision 1290 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
@@ -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 {
|
||||
|
Reference in New Issue
Block a user