diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2014-06-29 00:52:42 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2014-06-29 00:52:42 +0200 |
commit | 525a165d9985ced903228127d9d2c78b387c66aa (patch) | |
tree | ce74372e92fa4a77aaf97836d7c2eb213703e61f /libavfilter | |
parent | 4d3072ada3d586fa94acd72ec6248731183547a6 (diff) | |
download | ffmpeg-streaming-525a165d9985ced903228127d9d2c78b387c66aa.zip ffmpeg-streaming-525a165d9985ced903228127d9d2c78b387c66aa.tar.gz |
avfilter/vf_pullup: workaround bug in gcc 4.4.3 on ARM
The gcc version affected is very old and unmaintained AFAIK thus i made no
attempt to report this to the gcc developers.
The workaround is pushed as it may still affect users and does affect one
fate client
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavfilter')
-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) { |