# HG changeset patch # User tmmm # Date 1060682431 0 # Node ID f5a107782a669a07e70c745c5c0c7b9007af6f91 # Parent 720e891050c71c9ba890c2fff2572f9e2b62ec64 reverse earlier patch diff -r 720e891050c7 -r f5a107782a66 common.h --- a/common.h Mon Aug 11 20:27:17 2003 +0000 +++ b/common.h Tue Aug 12 10:00:31 2003 +0000 @@ -1045,11 +1045,8 @@ */ 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))