[FFmpeg-devel] [PACTH] Fix another problem in av_set_string()
Benoit Fouet
benoit.fouet
Wed May 14 04:14:46 CEST 2008
Michael Niedermayer wrote:
> On Tue, May 13, 2008 at 11:11:29PM +0200, Stefano Sabatini wrote:
>
>> Index: libavcodec/opt.c
>> ===================================================================
>> --- libavcodec/opt.c (revision 13150)
>> +++ libavcodec/opt.c (working copy)
>> @@ -159,7 +159,6 @@
>> for(i=0; i<sizeof(buf)-1 && val[i] && val[i]!='+' && val[i]!='-'; i++)
>> buf[i]= val[i];
>> buf[i]=0;
>> - val+= i;
>>
>> d = ff_eval2(buf, const_values, const_names, NULL, NULL, NULL, NULL, NULL, &error);
>> if(isnan(d)) {
>> @@ -184,6 +183,7 @@
>> d= -d;
>>
>> av_set_number(obj, name, d, 1, 1);
>> + val+= i;
>> if(!*val)
>> return o;
>> }
>>
>
> ok
>
> [....]
>
>
applied
--
Benoit Fouet
Purple Labs S.A.
www.purplelabs.com
More information about the ffmpeg-devel
mailing list