On Sat, May 21, 2011 at 10:40 AM, Diego Biurrun <[email protected]> wrote: > On Wed, May 04, 2011 at 01:00:28PM -0400, Ronald S. Bultje wrote: >> >> On Wed, May 4, 2011 at 8:12 AM, Diego Biurrun <[email protected]> wrote: >> > + for (y = dx + h; y > dx; y--) { >> > + uint8_t *dst = dptr + (y * stride) + dy * 3; >> > + for (x = 0; x < w; x++) { >> > + if (*sptr & 0x80) { >> > + /* 15-bit color */ >> > + unsigned c = ((sptr[0] & ~0x80) << 8) | sptr[1]; >> >> AV_RB16(). > > You mean > > unsigned c = AV_RB16(sptr) & 0x8000;
You mean ~0x8000? Jason _______________________________________________ libav-devel mailing list [email protected] https://lists.libav.org/mailman/listinfo/libav-devel
