avfilter/vf_delogo: change the definition of logo_x2 and logo_y2
authorJean Delvare <jdelvare@suse.de>
Fri, 18 Dec 2015 15:16:38 +0000 (16:16 +0100)
committerMichael Niedermayer <michael@niedermayer.cc>
Sat, 19 Dec 2015 02:12:31 +0000 (03:12 +0100)
commit47b2ba98787279a7d952cf7162ff2c25b07831a6
treea030f3cf532352fa138b04d52ef5601fdbf274f6
parent591b240ed48641e3b72088c5b6e7b2e452b286ca
avfilter/vf_delogo: change the definition of logo_x2 and logo_y2

In the code we keep using logo_x2-1 and logo_y2-1 rather than logo_x2
and logo_y2 themselves. Define them to be what we need instead, to avoid
the repeated subtractions.

Signed-off-by: Jean Delvare <jdelvare@suse.de>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavfilter/vf_delogo.c