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:
parent
4085d977dd
commit
32cd20de42
2 changed files with 20 additions and 13 deletions
|
@ -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 */
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue