Mercurial > libavcodec.hg
diff common.h @ 1139:6842feb093c1 libavcodec
rawvideo patch by (Fred Rothganger <rothgang at uiuc dot edu>)
author | michaelni |
---|---|
date | Sun, 16 Mar 2003 21:03:20 +0000 |
parents | c8dfb8579606 |
children | dcb20b7598ed |
line wrap: on
line diff
--- a/common.h Sun Mar 16 20:22:22 2003 +0000 +++ b/common.h Sun Mar 16 21:03:20 2003 +0000 @@ -907,6 +907,10 @@ return (s[0]) + (s[1]<<8) + (s[2]<<16) + (s[3]<<24); } +#define MKTAG(a,b,c,d) (a | (b << 8) | (c << 16) | (d << 24)) +#define MKBETAG(a,b,c,d) (d | (c << 8) | (b << 16) | (a << 24)) + + void ff_float2fraction(int *nom_arg, int *denom_arg, double f, int max);