[FFmpeg-devel] [PATCH 2/2] avcodec/pngdec: fix last_row_size type

Michael Niedermayer michaelni at gmx.at
Fri Aug 30 16:31:37 CEST 2013


Signed-off-by: Michael Niedermayer <michaelni at gmx.at>
---
 libavcodec/pngdec.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavcodec/pngdec.c b/libavcodec/pngdec.c
index 9305b32..c619e01 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;
-- 
1.7.9.5



More information about the ffmpeg-devel mailing list