From 6a6cf2f7e76792d326ec686d997f06cf2d04081c Mon Sep 17 00:00:00 2001 From: thilo Date: Mon, 31 Jul 2006 15:32:59 +0000 Subject: Another patch to make uncompressed AVI write in RGB24 format by anonymous virtualdub sympathiser. git-svn-id: svn://svn.icculus.org/quake3/trunk@825 edf5b092-35ff-0310-97b2-ce42778d08ea --- code/client/cl_avi.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'code/client') diff --git a/code/client/cl_avi.c b/code/client/cl_avi.c index 0be5fa5..463f873 100644 --- a/code/client/cl_avi.c +++ b/code/client/cl_avi.c @@ -248,7 +248,7 @@ void CL_WriteAVIHeader( void ) WRITE_4BYTES( afd.width ); //biWidth WRITE_4BYTES( afd.height ); //biHeight WRITE_2BYTES( 1 ); //biPlanes - WRITE_2BYTES( 32 ); //biBitCount + WRITE_2BYTES( 24 ); //biBitCount if( afd.motionJpeg ) { //biCompression WRITE_STRING( "MJPG" ); @@ -257,7 +257,7 @@ void CL_WriteAVIHeader( void ) } else { WRITE_4BYTES( 0 ); // BI_RGB WRITE_4BYTES( afd.width * - afd.height*4 ); //biSizeImage + afd.height*3 ); //biSizeImage } WRITE_4BYTES( 0 ); //biXPelsPetMeter -- cgit v1.2.3