[Ffmpeg-devel] [PATCH] small bugfix in av_find_opt()
Fri Mar 30 11:27:38 CEST 2007
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
>> and broke while parsing then "-coder ac" option
> patch looks ok
With friendly regards,
More information about the ffmpeg-devel