Browse Source

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>
Michael Niedermayer 12 years ago
parent
commit
e370b65897
1 changed files with 2 additions and 2 deletions
  1. 2 2
      tests/tiny_ssim.c

+ 2 - 2
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)