]> git.sesse.net Git - ffmpeg/commit
avfilter/crop: avoid premature eval error
authorGyan Doshi <ffmpeg@gyani.pro>
Wed, 4 Dec 2019 10:33:11 +0000 (16:03 +0530)
committerGyan Doshi <ffmpeg@gyani.pro>
Fri, 6 Dec 2019 04:49:47 +0000 (10:19 +0530)
commitb66a800877d6f97fa94b41533e3d6a6273f7fb9f
tree723d481af618e9a1ceaa2e1de545e18a7c6396e4
parent71fd72070c867b4f442e5c71baab9775c51273dc
avfilter/crop: avoid premature eval error

Width and height expressions can refer to each other. Width is
evaluated twice to allow for reference to output height. So we
should not error out upon failure of first evaluation of width.
libavfilter/vf_crop.c