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

michael subversion
Sun Sep 28 15:09:29 CEST 2008


Author: michael
Date: Sun Sep 28 15:09:29 2008
New Revision: 15443

Log:
Support loading presets from random pathes.
Fixes issue659.


Modified:
   trunk/ffmpeg.c

Modified: trunk/ffmpeg.c
==============================================================================
--- trunk/ffmpeg.c	(original)
+++ trunk/ffmpeg.c	Sun Sep 28 15:09:29 2008
@@ -3740,6 +3740,9 @@ static int opt_preset(const char *opt, c
             f= fopen(tmp, "r");
         }
     }
+    if(!f && ((arg[0]=='.' && arg[1]=='/') || arg[0]=='/')){
+        f= fopen(arg, "r");
+    }
 
     if(!f){
         fprintf(stderr, "Preset file not found\n");




More information about the ffmpeg-cvslog mailing list