[FFmpeg-devel] [Patch] Fix icc warning #120 for pcx.c

Ivo ivop
Mon May 12 20:35:21 CEST 2008


On Monday 12 May 2008 19:06, Carl Eugen Hoyos wrote:
> Reimar D?ffinger <Reimar.Doeffinger <at> stud.uni-karlsruhe.de> writes:
> > > libavcodec/pcx.c(61): warning #120: return value type does not match
> > > the function type
> > >       return src;
> > >              ^
> > >
> > > OK or should I just silence the warning (this is the only occurence)?
> >
> > Since it basically returns the first input pointer, it should have the
> > same type. So it should be uint8_t *.
>
> So the following patch is ok?

Yes.

--Ivo




More information about the ffmpeg-devel mailing list