[Mplayer-cvslog] CVS: main/libvo vo_xv.c,1.103,1.104

Felix Buenemann atmosfear at users.sourceforge.net
Wed Jul 17 23:54:33 CEST 2002


On Wednesday 17 July 2002 23:43, Arpi wrote:
> Hi,
>
> > On Wednesday 17 July 2002 23:20, Michael Niedermayer wrote:
> > > +    if(mpi->width*(mpi->bpp/8) > xvimage[current_buf]->pitches[0])
> > > return
> >
> > hmm, if this bpp is bytes per pixel, shouldn't it be +7/8 instead of /8,
> > to fix eg. 15bpp?
>
> it's bits per pixel, and 15bpp uses 16bits of memory per pixel so it's ok
> don't exchange it with depth!
thx, I didn't know that (or forgot ;), just asked to be sure it's ok.

> A'rpi / Astral & ESP-team

-- 
Best Regards,
        Atmos
____________________________________________
- MPlayer Developer - http://mplayerhq.hu/ -
____________________________________________



More information about the MPlayer-cvslog mailing list