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

Paul B Mahol onemda at gmail.com
Fri Aug 30 16:55:32 CEST 2013


On 8/30/13, Michael Niedermayer <michaelni at gmx.at> wrote:
> 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

All OK


More information about the ffmpeg-devel mailing list