diff options
author | Mike Melanson <mike@multimedia.cx> | 2003-08-12 10:00:31 +0000 |
---|---|---|
committer | Mike Melanson <mike@multimedia.cx> | 2003-08-12 10:00:31 +0000 |
commit | 966df5b6b3c4a06de65f913eb65232ae357066c2 (patch) | |
tree | e7d36e9d6aba2d100eb90e2306e78e73d4f80003 /libavcodec/common.h | |
parent | b6e52719c643ec5c10763612b605611e7151ec82 (diff) | |
download | ffmpeg-966df5b6b3c4a06de65f913eb65232ae357066c2.tar.gz |
reverse earlier patch
Originally committed as revision 2121 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/common.h')
-rw-r--r-- | libavcodec/common.h | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/libavcodec/common.h b/libavcodec/common.h index 516522abc9..73da2c5d22 100644 --- a/libavcodec/common.h +++ b/libavcodec/common.h @@ -1045,11 +1045,8 @@ static inline int ff_sqrt(int a) */ static inline int ff_get_fourcc(const char *s){ assert( strlen(s)==4 ); -#ifndef WORDS_BIGENDIAN + return (s[0]) + (s[1]<<8) + (s[2]<<16) + (s[3]<<24); -#else - return (s[3]) + (s[2]<<8) + (s[1]<<16) + (s[0]<<24); -#endif } #define MKTAG(a,b,c,d) (a | (b << 8) | (c << 16) | (d << 24)) |