diff --git a/libavcodec/pngdec.c b/libavcodec/pngdec.c index 9305b3200db9d590b9a5b682c9ee4d54a0c2c9fb..c619e01b1516ddb9c2bef84ed0ad019756a52307 100644 --- a/libavcodec/pngdec.c +++ b/libavcodec/pngdec.c @@ -60,7 +60,7 @@ typedef struct PNGDecContext { uint32_t palette[256]; uint8_t *crow_buf; uint8_t *last_row; - int last_row_size; + unsigned int last_row_size; uint8_t *tmp_row; unsigned int tmp_row_size; uint8_t *buffer;