From d205a3f81338292cf551fa09a9adf349bdcd382f Mon Sep 17 00:00:00 2001 From: divverent Date: Wed, 18 Feb 2009 22:19:23 +0000 Subject: [PATCH] fix typo causing an endless loop git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@8738 d7cf8633-e32d-0410-b094-e92efae38249 --- cap_ogg.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cap_ogg.c b/cap_ogg.c index 479f42f2..00dc3cbb 100644 --- a/cap_ogg.c +++ b/cap_ogg.c @@ -763,7 +763,7 @@ static void SCR_CaptureVideo_Ogg_EndVideo() if(format->yuvi >= 0) { // send the previous (and last) frame - while(format->lastnum > 0) + while(format->lastnum-- > 0) { qtheora_encode_YUVin(&format->ts, &format->yuv[format->yuvi]); -- 2.39.2