Re: [vdagent-win PATCH v4 3/5] Write code to decode PNG format

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Jul 18, 2017 at 01:29:24PM -0400, Frediano Ziglio wrote:
> > On Mon, Jul 17, 2017 at 09:54:04AM +0100, Frediano Ziglio wrote:
> > > +        }
> > > +        break;
> > > +    case PNG_COLOR_TYPE_PALETTE:
> > > +        // should return 1, 2, 4 and 8, BMP does not support 2
> > 
> > Is the first '2' unwanted? Since you say later 2 is unsupported
> > 
> 
> 2 is supported by PNG but not by BMP so the line_fixup_2bpp_to_4bpp
> function.
> 
> Maybe the comment should be "should return 1, 4 and 8, BMP does not support 2" ?

Yes, I was asking about the comment, but did not manage to express this clearly ;) 

Christophe

Attachment: signature.asc
Description: PGP signature

_______________________________________________
Spice-devel mailing list
Spice-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/spice-devel

[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]     [Monitors]