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
pull/126/head
Carl Eugen Hoyos 17 years ago
parent 4c25d159b1
commit 3f8adf26a4
  1. 2
      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;

Loading…
Cancel
Save