rawvideo patch by (Fred Rothganger <rothgang at uiuc dot edu>)

Originally committed as revision 1687 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Fred Rothganger
2003-03-16 21:03:20 +00:00
committed by Michael Niedermayer
parent b536d0aad2
commit e8750b0076
7 changed files with 224 additions and 152 deletions

View File

@@ -907,6 +907,10 @@ static inline int ff_get_fourcc(const char *s){
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);