OSDN Git Service

Correct type for pcx_rle_decode().
authorCarl Eugen Hoyos <cehoyos@rainbow.studorg.tuwien.ac.at>
Mon, 12 May 2008 19:04:08 +0000 (19:04 +0000)
committerCarl Eugen Hoyos <cehoyos@rainbow.studorg.tuwien.ac.at>
Mon, 12 May 2008 19:04:08 +0000 (19:04 +0000)
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

index 785f715..946d382 100644 (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;