# HG changeset patch # User aurel # Date 1232194861 0 # Node ID 1f5c80e92fd0b4973eb9bb9269c0babb720ae0f4 # Parent 819752f80c646be08d159c015e193d0e70f75bf9 remove ff_get_fourcc() and use AV_RL32() instead diff -r 819752f80c64 -r 1f5c80e92fd0 common.h --- a/common.h Sat Jan 17 11:13:33 2009 +0000 +++ b/common.h Sat Jan 17 12:21:01 2009 +0000 @@ -242,17 +242,6 @@ else return a; } -/** - * converts fourcc string to int - */ -static inline av_pure int ff_get_fourcc(const char *s){ -#ifdef HAVE_AV_CONFIG_H - assert( strlen(s)==4 ); -#endif - - 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))