[FFmpeg-devel] [PATCH]Increase dynamics for more palettes

Carl Eugen Hoyos cehoyos at ag.or.at
Sun Nov 13 15:46:56 CET 2011


Michael Niedermayer <michaelni <at> gmx.at> writes:

> > -            s->palette[i] = 0xFF000000 | (AV_RB24(p) << 2);
> > +            s->palette[i] = 0xFF000000 | (AV_RB24(p) << 2) | (AV_RB24(p) >>
6) & 0x30303;
> 
> this looks a bit odd, naively id say it should be >>4

Definitely, thank you.

> the others LGTM

Patches pushed, Carl Eugen



More information about the ffmpeg-devel mailing list