summaryrefslogtreecommitdiff
path: root/tests/tiny_ssim.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2013-03-27 01:38:18 +0100
committerMichael Niedermayer <michaelni@gmx.at>2013-03-27 01:38:18 +0100
commite370b6589778363227fb60a793faf800dfaa805f (patch)
tree0b5e2d81d03165b402de37fecc22298cecfc7a18 /tests/tiny_ssim.c
parent46c48d546ddf5125fcfae63f94c1e635e3a75f18 (diff)
downloadffmpeg-e370b6589778363227fb60a793faf800dfaa805f.tar.gz
tests/tiny_ssim: include the 2 macros instead of a header
Should fix compilation on open solaris Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'tests/tiny_ssim.c')
-rw-r--r--tests/tiny_ssim.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/tiny_ssim.c b/tests/tiny_ssim.c
index c1c819d7d4..759a84b420 100644
--- a/tests/tiny_ssim.c
+++ b/tests/tiny_ssim.c
@@ -32,8 +32,8 @@
#include <stdio.h>
#include <stdlib.h>
-#include "libavutil/avutil.h"
-
+#define FFSWAP(type,a,b) do{type SWAP_tmp= b; b= a; a= SWAP_tmp;}while(0)
+#define FFMIN(a,b) ((a) > (b) ? (b) : (a))
#define BIT_DEPTH 8
#define PIXEL_MAX ((1 << BIT_DEPTH)-1)