[MPlayer-dev-eng] [PATCH] Kill warnings when compiling find_sub.c

Carl Eugen Hoyos cehoyos at ag.or.at
Wed Aug 8 12:40:24 CEST 2007


Hi!

Diego Biurrun <diego <at> biurrun.de> writes:

> 
> On Wed, Aug 08, 2007 at 12:13:28AM +0200, Carl Eugen Hoyos wrote:
> > 
> > Attached patch kills several warning when compiling find_sub.c.
> 
> Looks OK, although I don't see which warnings it kills ...

In file included from libvo/sub.h:5,
                 from find_sub.c:10:
./libmpcodecs/mp_image.h: In function ‘new_mp_image’:
./libmpcodecs/mp_image.h:211: warning: implicit declaration of function ‘malloc’
./libmpcodecs/mp_image.h:211: warning: incompatible implicit declaration of
built-in function ‘malloc’
./libmpcodecs/mp_image.h:213: warning: implicit declaration of function ‘memset’
./libmpcodecs/mp_image.h:213: warning: incompatible implicit declaration of
built-in function ‘memset’
./libmpcodecs/mp_image.h: In function ‘free_mp_image’:
./libmpcodecs/mp_image.h:223: warning: implicit declaration of function ‘free’

Applied, Carl Eugen





More information about the MPlayer-dev-eng mailing list