From: divverent Date: Tue, 16 Oct 2007 21:58:45 +0000 (+0000) Subject: oops X-Git-Tag: xonotic-v0.1.0preview~2844 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=7070996fb0f6749382bc6b36f9154b2a97c3b733;p=xonotic%2Fdarkplaces.git oops git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@7636 d7cf8633-e32d-0410-b094-e92efae38249 --- diff --git a/cl_screen.c b/cl_screen.c index dffa2d68..196b5861 100644 --- a/cl_screen.c +++ b/cl_screen.c @@ -968,7 +968,7 @@ static void SCR_CaptureVideo_RIFF_MakeIxChunk(const char *fcc, const char *dwChu SCR_CaptureVideo_RIFF_Write32(nMatching); // nEntriesInUse SCR_CaptureVideo_RIFF_WriteFourCC(dwChunkId); // dwChunkId SCR_CaptureVideo_RIFF_Write32(cls.capturevideo.videofile_ix_movistart & (fs_offset_t) 0xFFFFFFFFu); - SCR_CaptureVideo_RIFF_Write32(cls.capturevideo.videofile_ix_movistart >> 32); + SCR_CaptureVideo_RIFF_Write32((cls.capturevideo.videofile_ix_movistart >> 16) >> 16); SCR_CaptureVideo_RIFF_Write32(0); // dwReserved for(i = 0; i < cls.capturevideo.riffindexbuffer.cursize; i += 16) @@ -991,7 +991,7 @@ static void SCR_CaptureVideo_RIFF_MakeIxChunk(const char *fcc, const char *dwChu FS_Seek(cls.capturevideo.videofile, masteridx_start + 16 * *masteridx_count, SEEK_SET); SCR_CaptureVideo_RIFF_Write32(ix & (fs_offset_t) 0xFFFFFFFFu); - SCR_CaptureVideo_RIFF_Write32(ix >> 32); + SCR_CaptureVideo_RIFF_Write32((ix >> 16) >> 16); SCR_CaptureVideo_RIFF_Write32(pos - ix); SCR_CaptureVideo_RIFF_Write32(nMatching); SCR_CaptureVideo_RIFF_Flush();