[FFmpeg-devel] [patch] support decoding png 1,2,4 bits

Diego Biurrun diego
Thu Feb 14 11:40:44 CET 2008


On Thu, Feb 14, 2008 at 10:41:50AM +0100, Julien Reichel wrote:
> 
> --- pngdec.c	(revision 11931)
> +++ pngdec.c	(working copy)
> +}
>  /* process exactly one decompressed row */  static void
> png_handle_row(PNGDecContext *s)  { @@ -226,6 +265,11 @@
>                             s->last_row, s->row_size, s->bpp);
>              memcpy(s->last_row, s->tmp_row, s->row_size);
>              convert_to_rgb32(ptr, s->tmp_row, s->width);

Please attach your patches instead of sending them inline, your mailer
badly mangles them.

Diego




More information about the ffmpeg-devel mailing list