changeset 3:3442cae3ecf9 libavformat

fixed 'file:' in URLs
author bellard
date Fri, 29 Nov 2002 19:19:47 +0000
parents 06b1347b3c8e
children dcc03a32d1bb
files file.c
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/file.c	Fri Nov 29 14:56:03 2002 +0000
+++ b/file.c	Fri Nov 29 19:19:47 2002 +0000
@@ -35,6 +35,8 @@
     int access;
     int fd;
 
+    strstart(filename, "file:", &filename);
+
     if (flags & URL_WRONLY) {
         access = O_CREAT | O_TRUNC | O_WRONLY;
     } else {