]> git.sesse.net Git - ffmpeg/commit
vf_pad: fix x, y option expression evaluation
authorJohn Stebbins <stebbins@jetheaddev.com>
Sun, 25 Oct 2015 18:36:10 +0000 (11:36 -0700)
committerLuca Barbato <lu_zero@gentoo.org>
Fri, 6 Nov 2015 14:03:51 +0000 (15:03 +0100)
commit2ec112f71cd03ccab1b6f9a00d29199a57bcc7a5
treeec2e3f8df2026d23dcd8ee546545ffee2a5110f8
parente2854e731f843906d9a9a5b882bed872341999fd
vf_pad: fix x, y option expression evaluation

Calculation of x an y based on width and height did not work when
width == 0 or height == 0.  "0" substitutes the input width and
height, but did so too late for x, y expression evaluation.

Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
libavfilter/vf_pad.c