comparison common.h @ 865:704f13bfc652 libavcodec

* minor warning fix
author kabi
date Thu, 14 Nov 2002 19:04:40 +0000
parents 058194d7ade6
children 1c32039e7215
comparison
equal deleted inserted replaced
864:6eda806efda9 865:704f13bfc652
834 } 834 }
835 835
836 /** 836 /**
837 * converts fourcc string to int 837 * converts fourcc string to int
838 */ 838 */
839 static inline int ff_get_fourcc(char *s){ 839 static inline int ff_get_fourcc(const char *s){
840 assert( strlen(s)==4 ); 840 assert( strlen(s)==4 );
841 841
842 return (s[0]) + (s[1]<<8) + (s[2]<<16) + (s[3]<<24); 842 return (s[0]) + (s[1]<<8) + (s[2]<<16) + (s[3]<<24);
843 } 843 }
844 844