diff options
author | Fred Rothganger <rothgang@uiuc.edu> | 2003-03-16 21:03:20 +0000 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2003-03-16 21:03:20 +0000 |
commit | e8750b00764f5148cd93f466f9e832eb8589aba7 (patch) | |
tree | 57e0854dac6635b5a89f4cdfe035f12282352ca6 /libavcodec/common.h | |
parent | b536d0aad2750d3a5f24520fccf1e48a46cad53b (diff) | |
download | ffmpeg-e8750b00764f5148cd93f466f9e832eb8589aba7.tar.gz |
rawvideo patch by (Fred Rothganger <rothgang at uiuc dot edu>)
Originally committed as revision 1687 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/common.h')
-rw-r--r-- | libavcodec/common.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libavcodec/common.h b/libavcodec/common.h index b2bcc953e8..1d0be03243 100644 --- a/libavcodec/common.h +++ b/libavcodec/common.h @@ -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); |