diff options
author | Aurelien Jacobs <aurel@gnuage.org> | 2009-01-17 12:21:01 +0000 |
---|---|---|
committer | Aurelien Jacobs <aurel@gnuage.org> | 2009-01-17 12:21:01 +0000 |
commit | 2bb6eba21d1843d67127be031aab7576dbe4c200 (patch) | |
tree | 58da36fa398f13d1c6916e14af466f28ea735ce4 /libavutil | |
parent | 9ce6c1387988bf3cdb631f3844e99a0c9bea43f2 (diff) | |
download | ffmpeg-2bb6eba21d1843d67127be031aab7576dbe4c200.tar.gz |
remove ff_get_fourcc() and use AV_RL32() instead
Originally committed as revision 16654 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavutil')
-rw-r--r-- | libavutil/common.h | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/libavutil/common.h b/libavutil/common.h index e583101189..f9ab84417a 100644 --- a/libavutil/common.h +++ b/libavutil/common.h @@ -242,17 +242,6 @@ static inline av_const float av_clipf(float a, float amin, float amax) 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)) |