Commit 32f47cf6 authored by tmmm's avatar tmmm

reverse earlier patch


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@2121 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 9d8634e7
...@@ -1045,11 +1045,8 @@ static inline int ff_sqrt(int a) ...@@ -1045,11 +1045,8 @@ static inline int ff_sqrt(int a)
*/ */
static inline int ff_get_fourcc(const char *s){ static inline int ff_get_fourcc(const char *s){
assert( strlen(s)==4 ); assert( strlen(s)==4 );
#ifndef WORDS_BIGENDIAN
return (s[0]) + (s[1]<<8) + (s[2]<<16) + (s[3]<<24); 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)) #define MKTAG(a,b,c,d) (a | (b << 8) | (c << 16) | (d << 24))
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment