From 3f8adf26a45f9fb56cad880598e202b469fa60aa Mon Sep 17 00:00:00 2001 From: Carl Eugen Hoyos Date: Mon, 12 May 2008 19:04:08 +0000 Subject: Correct type for pcx_rle_decode(). Fixes icc warning #120: return value type does not match the function type Originally committed as revision 13139 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavcodec/pcx.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libavcodec/pcx.c') diff --git a/libavcodec/pcx.c b/libavcodec/pcx.c index 785f715b54..946d382d3b 100644 --- a/libavcodec/pcx.c +++ b/libavcodec/pcx.c @@ -42,7 +42,7 @@ static av_cold int pcx_init(AVCodecContext *avctx) { /** * @return advanced src pointer */ -static const char *pcx_rle_decode(const uint8_t *src, uint8_t *dst, +static const uint8_t *pcx_rle_decode(const uint8_t *src, uint8_t *dst, unsigned int bytes_per_scanline) { unsigned int i = 0; unsigned char run, value; -- cgit v1.2.3