[FFmpeg-devel] [FFmpeg-cvslog] avfilter/vf_lenscorrection: fix division by zero

Michael Niedermayer michael at niedermayer.cc
Mon Oct 14 20:46:23 EEST 2019


On Sun, Oct 13, 2019 at 09:30:42PM +0000, Paul B Mahol wrote:
> ffmpeg | branch: master | Paul B Mahol <onemda at gmail.com> | Sun Oct 13 23:28:16 2019 +0200| [19587c9332f5be4f6bc6d7b2b8ef3fd21dfeaa01] | committer: Paul B Mahol
> 
> avfilter/vf_lenscorrection: fix division by zero
> 
> Fixes #8265
> 
> > http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=19587c9332f5be4f6bc6d7b2b8ef3fd21dfeaa01
> ---
> 
>  libavfilter/vf_lenscorrection.c | 6 ++----
>  1 file changed, 2 insertions(+), 4 deletions(-)

This breaks the filter, also noone had a chance to catch this issue
as no patch was send before the push

./ffmpeg -y -f lavfi -i testsrc -vf lenscorrection=0.3:0.2:0.2:0.9  file.avi

Error while filtering: Cannot allocate memory
Failed to inject frame into filter network: Cannot allocate memory
Error while processing the decoded data for stream #0:0
Conversion failed!

[...]


-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

The real ebay dictionary, page 1
"Used only once"    - "Some unspecified defect prevented a second use"
"In good condition" - "Can be repaird by experienced expert"
"As is" - "You wouldnt want it even if you were payed for it, if you knew ..."
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20191014/892fd6a0/attachment.sig>


More information about the ffmpeg-devel mailing list