lavfi/af_afir,af_aiir: Remove a variable that is always -1.
authorCarl Eugen Hoyos <ceffmpeg@gmail.com>
Thu, 19 Jul 2018 00:28:25 +0000 (02:28 +0200)
committerCarl Eugen Hoyos <ceffmpeg@gmail.com>
Thu, 19 Jul 2018 21:13:24 +0000 (23:13 +0200)
commit9cb3d8fcb7eb5b9b12a87ed27a2d7c4fc5416f85
tree74990720ee42e53baa9ce63c1ab8f326ba0b6f47
parentb23c4a9dbd8ef7399ede9d2c02ccaf5a6b9c412c
lavfi/af_afir,af_aiir: Remove a variable that is always -1.

Fixes two warnings:
libavfilter/af_afir.c:194:45: warning: assuming signed overflow does not occur when assuming that (X - c) > X is always false [-Wstrict-overflow]
     int dx = FFABS(x1-x0), sx = x0 < x1 ? 1 : -1;
                                 ~~~~~~~~~~~~^~~~
libavfilter/af_aiir.c:689:45: warning: assuming signed overflow does not occur when assuming that (X - c) > X is always false [-Wstrict-overflow]
     int dx = FFABS(x1-x0), sx = x0 < x1 ? 1 : -1;
                                 ~~~~~~~~~~~~^~~~
libavfilter/af_afir.c
libavfilter/af_aiir.c