[Ffmpeg-devel] [PATCH] small bugfix in av_find_opt()
Fri Mar 23 11:43:07 CET 2007
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
Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
I know you won't believe me, but the highest form of Human Excellence is
to question oneself and others. -- Socrates
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 189 bytes
Desc: not available
More information about the ffmpeg-devel