diff common.h @ 126:28a98fbd027f libavutil

Rename SWAP macro to FFSWAP.
author diego
date Wed, 01 Nov 2006 21:28:36 +0000
parents 172cf2494db7
children c1916b2259c5
line wrap: on
line diff
--- a/common.h	Wed Nov 01 18:34:40 2006 +0000
+++ b/common.h	Wed Nov 01 21:28:36 2006 +0000
@@ -198,7 +198,7 @@
 #define FFMAX(a,b) ((a) > (b) ? (a) : (b))
 #define FFMIN(a,b) ((a) > (b) ? (b) : (a))
 
-#define SWAP(type,a,b) do{type SWAP_tmp= b; b= a; a= SWAP_tmp;}while(0)
+#define FFSWAP(type,a,b) do{type SWAP_tmp= b; b= a; a= SWAP_tmp;}while(0)
 
 /* misc math functions */
 extern FF_IMPORT_ATTR const uint8_t ff_log2_tab[256];