aboutsummaryrefslogtreecommitdiffstats
path: root/libavutil
diff options
context:
space:
mode:
authorBaptiste Coudurier <baptiste.coudurier@gmail.com>2008-04-26 12:47:02 +0000
committerBaptiste Coudurier <baptiste.coudurier@gmail.com>2008-04-26 12:47:02 +0000
commitb842ecbefce2617406a8fdb3c100f98d2300c2df (patch)
tree7d39db0e82341ca6cf8fb54d3eb39d6acfbef1d6 /libavutil
parenta82dcdffb27b74986c75b6313bbc245535c39c49 (diff)
downloadffmpeg-b842ecbefce2617406a8fdb3c100f98d2300c2df.tar.gz
add FFMIN3
Originally committed as revision 12982 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavutil')
-rw-r--r--libavutil/common.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/libavutil/common.h b/libavutil/common.h
index 6615ded044..45c059b39c 100644
--- a/libavutil/common.h
+++ b/libavutil/common.h
@@ -113,6 +113,7 @@
#define FFMAX(a,b) ((a) > (b) ? (a) : (b))
#define FFMAX3(a,b,c) FFMAX(FFMAX(a,b),c)
#define FFMIN(a,b) ((a) > (b) ? (b) : (a))
+#define FFMIN3(a,b,c) FFMIN(FFMIN(a,b),c)
#define FFSWAP(type,a,b) do{type SWAP_tmp= b; b= a; a= SWAP_tmp;}while(0)