[FFmpeg-devel] [PATCH] Support absolute DOS paths for presets.
Ramiro Polla
ramiro.polla
Fri Oct 10 19:40:03 CEST 2008
Hi,
On Mon, Sep 29, 2008 at 9:29 PM, M?ns Rullg?rd <mans at mansr.com> wrote:
> "Ramiro Polla" <ramiro.polla at gmail.com> writes:
>> $subj
[...]
>> Index: ffmpeg.c
>> ===================================================================
>> --- ffmpeg.c (revision 15464)
>> +++ ffmpeg.c (working copy)
>> @@ -3675,7 +3675,7 @@
>> f= fopen(tmp, "r");
>> }
>> }
>> - if(!f && ((arg[0]=='.' && arg[1]=='/') || arg[0]=='/')){
>> + if(!f && ((arg[0]=='.' && arg[1]=='/') || arg[0]=='/' || arg[1]==':')){
>
> This will cause unexpected results if someone uses ':' as the second
> character in a preset name.
New patch attached.
Ramiro Polla
-------------- next part --------------
A non-text attachment was scrubbed...
Name: dospaths_presets.diff
Type: text/x-diff
Size: 397 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20081010/6a32348d/attachment.diff>
More information about the ffmpeg-devel
mailing list