summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-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)