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

Reimar Döffinger Reimar.Doeffinger
Mon May 12 14:30:09 CEST 2008


On Mon, May 12, 2008 at 01:04:33PM +0200, Carl Eugen Hoyos wrote:
> Hi!
>
> Icc claims that pcx_rle_decode() in pcx.c should be defined unsigned.
> Fixes following icc warning:
>
> 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 *.




More information about the ffmpeg-devel mailing list