[FFmpeg-cvslog] avcodec/pngdec: fix last_row_size type

Michael Niedermayer git at videolan.org
Fri Aug 30 19:49:49 CEST 2013


ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Fri Aug 30 16:20:33 2013 +0200| [60fed98e63477d68a4637e36b5dae4ed3838f877] | committer: Michael Niedermayer

avcodec/pngdec: fix last_row_size type

Signed-off-by: Michael Niedermayer <michaelni at gmx.at>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=60fed98e63477d68a4637e36b5dae4ed3838f877
---

 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;



More information about the ffmpeg-cvslog mailing list