From b2471dccc74b4d105abd20d304f90f6169285168 Mon Sep 17 00:00:00 2001 From: cloudwalk Date: Mon, 15 Jun 2020 17:53:37 +0000 Subject: [PATCH] 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 --- snd_mix.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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; -- 2.39.2