diff options
Diffstat (limited to 'libavutil')
-rw-r--r-- | libavutil/common.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libavutil/common.h b/libavutil/common.h index b0f0acf3c9..be665a9874 100644 --- a/libavutil/common.h +++ b/libavutil/common.h @@ -169,6 +169,8 @@ typedef uint64_t uint_fast64_t; #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) + /* misc math functions */ extern FF_IMPORT_ATTR const uint8_t ff_log2_tab[256]; |