Browse Source

add FFMIN3

Originally committed as revision 12982 to svn://svn.ffmpeg.org/ffmpeg/trunk
tags/v0.5
Baptiste Coudurier 18 years ago
parent
commit
b842ecbefc
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      libavutil/common.h

+ 1
- 0
libavutil/common.h View File

@@ -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)



Loading…
Cancel
Save