[FFmpeg-cvslog] r15624 - trunk/ffmpeg.c

ramiro subversion
Wed Oct 15 16:12:59 CEST 2008


Author: ramiro
Date: Wed Oct 15 16:12:59 2008
New Revision: 15624

Log:
Support absolute DOS paths for preset parameters

Modified:
   trunk/ffmpeg.c

Modified: trunk/ffmpeg.c
==============================================================================
--- trunk/ffmpeg.c	(original)
+++ trunk/ffmpeg.c	Wed Oct 15 16:12:59 2008
@@ -3685,7 +3685,8 @@ static int opt_preset(const char *opt, c
             f= fopen(tmp, "r");
         }
     }
-    if(!f && ((arg[0]=='.' && arg[1]=='/') || arg[0]=='/')){
+    if(!f && ((arg[0]=='.' && arg[1]=='/') || arg[0]=='/' ||
+              is_dos_path(arg))){
         f= fopen(arg, "r");
     }
 




More information about the ffmpeg-cvslog mailing list