git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4188 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
arpi 2002-01-16 01:51:12 +00:00
parent 491a353915
commit fb3522a8fa
1 changed files with 1 additions and 1 deletions

View File

@ -33,7 +33,7 @@ typedef struct mp_image_s {
#ifdef IMGFMT_YUY2
static inline void mp_image_setfmt(mp_image_t* mpi,unsigned int out_fmt){
mpi->flags&=~(MP_IMGFLAG_PLANAR|MP_IMGFLAG_YUV|MP_IMGFLAG_SWAPPED);
mpi->out_fmt=out_fmt;
mpi->imgfmt=out_fmt;
if( (out_fmt&IMGFMT_RGB_MASK) == IMGFMT_RGB ){
mpi->bpp=((out_fmt&255)+7)&(~7);
return;