From: cloudwalk Date: Mon, 15 Jun 2020 17:53:37 +0000 (+0000) Subject: Move variable paintbuffer_unswapped into CONFIG_VIDEO_CAPTURE, unused without it X-Git-Url: http://git.xonotic.org/?a=commitdiff_plain;h=b2471dccc74b4d105abd20d304f90f6169285168;p=xonotic%2Fdarkplaces.git Move variable paintbuffer_unswapped into CONFIG_VIDEO_CAPTURE, unused without it https://gitlab.com/xonotic/darkplaces/-/merge_requests/89 git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@12680 d7cf8633-e32d-0410-b094-e92efae38249 --- diff --git a/snd_mix.c b/snd_mix.c index f9748bd6..b718bdcb 100644 --- a/snd_mix.c +++ b/snd_mix.c @@ -24,11 +24,12 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. extern cvar_t snd_softclip; static portable_sampleframe_t paintbuffer[PAINTBUFFER_SIZE]; -static portable_sampleframe_t paintbuffer_unswapped[PAINTBUFFER_SIZE]; extern speakerlayout_t snd_speakerlayout; // for querying the listeners #ifdef CONFIG_VIDEO_CAPTURE +static portable_sampleframe_t paintbuffer_unswapped[PAINTBUFFER_SIZE]; + static void S_CaptureAVISound(const portable_sampleframe_t *sampleframes, size_t length) { size_t i;