avcodec/pngdec: fix last_row_size type
authorMichael Niedermayer <michaelni@gmx.at>
Fri, 30 Aug 2013 14:20:33 +0000 (16:20 +0200)
committerMichael Niedermayer <michaelni@gmx.at>
Fri, 30 Aug 2013 17:34:24 +0000 (19:34 +0200)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavcodec/pngdec.c

index 9305b32..c619e01 100644 (file)
@@ -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;