* minor warning fix

Originally committed as revision 1209 to svn://svn.ffmpeg.org/ffmpeg/trunk
pull/126/head
Zdenek Kabelac 22 years ago
parent adb4328917
commit 6a85ec8d9c
  1. 2
      libavcodec/common.h

@ -836,7 +836,7 @@ static inline int ff_sqrt(int a)
/**
* 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 );
return (s[0]) + (s[1]<<8) + (s[2]<<16) + (s[3]<<24);

Loading…
Cancel
Save