move ABS() to common.h

print mb_types in nice looking format support

Originally committed as revision 440 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Michael Niedermayer 2002-05-04 18:58:07 +00:00
parent 4085d977dd
commit 32cd20de42
2 changed files with 20 additions and 13 deletions

View file

@ -159,6 +159,7 @@ inline void dprintf(const char* fmt,...) {}
/* assume b>0 */
#define ROUNDED_DIV(a,b) (((a)>0 ? (a) + ((b)>>1) : (a) - ((b)>>1))/(b))
#define ABS(a) ((a) >= 0 ? (a) : (-(a)))
/* bit output */