changeset 1401:f5a107782a66 libavcodec

reverse earlier patch
author tmmm
date Tue, 12 Aug 2003 10:00:31 +0000
parents 720e891050c7
children f662e9c86cf2
files common.h
diffstat 1 files changed, 1 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- 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))