aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2013-08-30 16:20:33 +0200
committerMichael Niedermayer <michaelni@gmx.at>2013-08-30 19:34:24 +0200
commit60fed98e63477d68a4637e36b5dae4ed3838f877 (patch)
treefe6805ab51eceef8ccc41df53b04fc8f5c4d884a
parent7b47d7f75e6f6c30a2b6a1158f56a511d810dc96 (diff)
downloadffmpeg-60fed98e63477d68a4637e36b5dae4ed3838f877.tar.gz
avcodec/pngdec: fix last_row_size type
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-rw-r--r--libavcodec/pngdec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/pngdec.c b/libavcodec/pngdec.c
index 9305b3200d..c619e01b15 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;