1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2025-01-13 21:28:01 +02:00

* minor warning fix

Originally committed as revision 1209 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Zdenek Kabelac 2002-11-14 19:04:40 +00:00
parent adb4328917
commit 6a85ec8d9c

View File

@ -836,7 +836,7 @@ static inline int ff_sqrt(int a)
/** /**
* converts fourcc string to int * converts fourcc string to int
*/ */
static inline int ff_get_fourcc(char *s){ static inline int ff_get_fourcc(const char *s){
assert( strlen(s)==4 ); assert( strlen(s)==4 );
return (s[0]) + (s[1]<<8) + (s[2]<<16) + (s[3]<<24); return (s[0]) + (s[1]<<8) + (s[2]<<16) + (s[3]<<24);