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

Michael Niedermayer michaelni at gmx.at
Fri Aug 30 19:49:09 CEST 2013


On Fri, Aug 30, 2013 at 02:55:32PM +0000, Paul B Mahol wrote:
> 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

applied

thanks

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Old school: Use the lowest level language in which you can solve the problem
            conveniently.
New school: Use the highest level language in which the latest supercomputer
            can solve the problem without the user falling asleep waiting.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20130830/ac80a63b/attachment.asc>


More information about the ffmpeg-devel mailing list