From: divverent Date: Wed, 18 Feb 2009 22:19:23 +0000 (+0000) Subject: fix typo causing an endless loop X-Git-Tag: xonotic-v0.1.0preview~1857 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=d205a3f81338292cf551fa09a9adf349bdcd382f;p=xonotic%2Fdarkplaces.git fix typo causing an endless loop git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@8738 d7cf8633-e32d-0410-b094-e92efae38249 --- 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]);