From: <mon...@us...> - 2003-12-13 02:03:00
|
Update of /cvsroot/xbplayer/XBMP/mplayerlibs/libDLL/dshow In directory sc8-pr-cvs1:/tmp/cvs-serv31752/mplayerlibs/libDLL/dshow Modified Files: DS_VideoDecoder.cpp Log Message: Minor fix image size calculation Index: DS_VideoDecoder.cpp =================================================================== RCS file: /cvsroot/xbplayer/XBMP/mplayerlibs/libDLL/dshow/DS_VideoDecoder.cpp,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 *** DS_VideoDecoder.cpp 4 Jun 2003 19:57:44 -0000 1.7 --- DS_VideoDecoder.cpp 13 Dec 2003 02:02:57 -0000 1.8 *************** *** 641,646 **** pthis->iv.m_obh.biCompression=csp; pthis->iv.m_obh.biBitCount=bits; ! pthis->iv.m_obh.biSizeImage=labs(pthis->iv.m_obh.biBitCount* ! pthis->iv.m_obh.biWidth*pthis->iv.m_obh.biHeight)>>3; } } --- 641,646 ---- pthis->iv.m_obh.biCompression=csp; pthis->iv.m_obh.biBitCount=bits; ! pthis->iv.m_obh.biSizeImage=labs(pthis->iv.m_obh.biWidth*pthis->iv.m_obh.biHeight) ! * (pthis->iv.m_obh.biBitCount+7)/8; } } |