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
This commit is contained in:
Carl Eugen Hoyos 2008-05-12 19:04:08 +00:00
parent 4c25d159b1
commit 3f8adf26a4

View File

@ -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;