diff options
Diffstat (limited to 'libavfilter/vf_pullup.c')
-rw-r--r-- | libavfilter/vf_pullup.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavfilter/vf_pullup.c b/libavfilter/vf_pullup.c index 85e6ac4..ac67de6 100644 --- a/libavfilter/vf_pullup.c +++ b/libavfilter/vf_pullup.c @@ -67,7 +67,7 @@ static int query_formats(AVFilterContext *ctx) return 0; } -#define ABS(a) (((a) ^ ((a) >> 31)) - ((a) >> 31)) +#define ABS(a) ((a) > 0 ? (a) : -(a)) static int diff_c(const uint8_t *a, const uint8_t *b, ptrdiff_t s) { |