# HG changeset patch # User diego # Date 1162416516 0 # Node ID 28a98fbd027ffa149efffee748cf9fdfbbda2d6e # Parent 172cf2494db7bbe0208f6d12a3faf83dd96c03b5 Rename SWAP macro to FFSWAP. diff -r 172cf2494db7 -r 28a98fbd027f common.h --- 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];