diff options
author | Carl Eugen Hoyos <ceffmpeg@gmail.com> | 2018-07-19 02:28:25 +0200 |
---|---|---|
committer | Carl Eugen Hoyos <ceffmpeg@gmail.com> | 2018-07-19 23:13:24 +0200 |
commit | 9cb3d8fcb7eb5b9b12a87ed27a2d7c4fc5416f85 (patch) | |
tree | 74990720ee42e53baa9ce63c1ab8f326ba0b6f47 /libavcodec | |
parent | b23c4a9dbd8ef7399ede9d2c02ccaf5a6b9c412c (diff) | |
download | ffmpeg-9cb3d8fcb7eb5b9b12a87ed27a2d7c4fc5416f85.tar.gz |
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;
~~~~~~~~~~~~^~~~
Diffstat (limited to 'libavcodec')
0 files changed, 0 insertions, 0 deletions