From: divverent Date: Wed, 17 Oct 2007 09:41:01 +0000 (+0000) Subject: We always and like this... NOT. X-Git-Tag: xonotic-v0.1.0preview~2837 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=f7424b7242ccbb084061ed9b7c2a226b32f0738f;p=xonotic%2Fdarkplaces.git We always and like this... NOT. git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@7643 d7cf8633-e32d-0410-b094-e92efae38249 --- diff --git a/cl_screen.c b/cl_screen.c index 5da743c7..c157602d 100644 --- a/cl_screen.c +++ b/cl_screen.c @@ -1304,7 +1304,6 @@ Cr = R * .500 + G * -.419 + B * -.0813 + 128.; SCR_CaptureVideo_RIFF_Write16(16); // bits per sample SCR_CaptureVideo_RIFF_Write16(0); // size SCR_CaptureVideo_RIFF_Pop(); - SCR_CaptureVideo_RIFF_Pop(); // master index SCR_CaptureVideo_RIFF_Push("indx", NULL); SCR_CaptureVideo_RIFF_Write16(4); // wLongsPerEntry @@ -1319,6 +1318,7 @@ Cr = R * .500 + G * -.419 + B * -.0813 + 128.; for(i = 0; i < AVI_MASTER_INDEX_SIZE * 4; ++i) SCR_CaptureVideo_RIFF_Write32(0); // fill up later SCR_CaptureVideo_RIFF_Pop(); + SCR_CaptureVideo_RIFF_Pop(); } cls.capturevideo.videofile_ix_master_audio_inuse = cls.capturevideo.videofile_ix_master_video_inuse = 0;