[Ffmpeg-devel] [PATCH] small bugfix in av_find_opt()
Panagiotis Issaris
takis.issaris
Fri Mar 30 11:27:38 CEST 2007
Hi,
Michael Niedermayer wrote:
> On Fri, Mar 23, 2007 at 11:20:26AM +0000, Kamil Nowosad wrote:
>> While making some improvements in my tiff encoder i found a small bug
>> in av_find_opt().
>> Because some of the AVOption structures have field unit = NULL, the
>> function could pass NULL to strcmp and cause a segfault.
>>
>> example which caused that on my computer is:
>> ffmpeg -f image2 -vcodec tiff -i foo.tif -f image2 -vcodec png -coder ac
>> foo.png
>> and broke while parsing then "-coder ac" option
>
> patch looks ok
Applied.
With friendly regards,
Takis
More information about the ffmpeg-devel
mailing list