[FFmpeg-devel] [PATCH] Support absolute DOS paths for presets.

Måns Rullgård mans
Fri Oct 10 19:55:37 CEST 2008


"Ramiro Polla" <ramiro.polla at gmail.com> writes:

> Index: ffmpeg.c
> ===================================================================
> --- ffmpeg.c	(revision 15593)
> +++ ffmpeg.c	(working copy)
> @@ -3685,7 +3685,7 @@
>              f= fopen(tmp, "r");
>          }
>      }
> -    if(!f && ((arg[0]=='.' && arg[1]=='/') || arg[0]=='/')){
> +    if(!f && ((arg[0]=='.' && arg[1]=='/') || arg[0]=='/' || is_dos_path(arg))){

Please break that line, preferably after the last ||.

-- 
M?ns Rullg?rd
mans at mansr.com




More information about the ffmpeg-devel mailing list