[FFmpeg-devel] [PATCH] Fix av_set_string()
Benoit Fouet
benoit.fouet
Tue May 13 02:50:12 CEST 2008
Michael Niedermayer wrote:
> On Tue, May 13, 2008 at 12:38:34AM +0200, Stefano Sabatini wrote:
>
>> Index: libavcodec/opt.c
>> ===================================================================
>> --- libavcodec/opt.c (revision 13138)
>> +++ libavcodec/opt.c (working copy)
>> @@ -172,7 +172,7 @@
>> else if(!strcmp(buf, "none" )) d= 0;
>> else if(!strcmp(buf, "all" )) d= ~0;
>> else {
>> - if (!error)
>> + if (error)
>> av_log(NULL, AV_LOG_ERROR, "Unable to parse option value \"%s\": %s\n", val, error);
>>
>
> ok
>
> [....]
>
Applied
--
Benoit Fouet
Purple Labs S.A.
www.purplelabs.com
More information about the ffmpeg-devel
mailing list