CVS: main/libmpcodecs vd_vfw.c,1.5,1.6
21 Apr
2002
21 Apr
'02
12:32 p.m.
Update of /cvsroot/mplayer/main/libmpcodecs In directory mail:/var/tmp.root/cvs-serv13494 Modified Files: vd_vfw.c Log Message: export palette for rgb8/bgr8 Index: vd_vfw.c =================================================================== RCS file: /cvsroot/mplayer/main/libmpcodecs/vd_vfw.c,v retrieving revision 1.5 retrieving revision 1.6 diff -u -r1.5 -r1.6 --- vd_vfw.c 1 Apr 2002 13:26:38 -0000 1.5 +++ vd_vfw.c 21 Apr 2002 16:32:35 -0000 1.6 @@ -90,6 +90,11 @@ return NULL; } + if(mpi->imgfmt==IMGFMT_RGB8 || mpi->imgfmt==IMGFMT_BGR8){ + // export palette: + mpi->planes[1]=((unsigned char*)&sh->o_bih)+40; + } + return mpi; }
8605
Age (days ago)
8605
Last active (days ago)
0 comments
1 participants
participants (1)
-
Arpi of Ize