From eb14755501ff72d2610fde17ddfc8f6eea731d51 Mon Sep 17 00:00:00 2001 From: def Date: Sun, 10 Jul 2022 01:08:33 +0200 Subject: [PATCH] Fix compilation in video.cpp MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit /home/deen/isos/ddnet/ddnet-source/src/engine/client/video.cpp:829:9: error: ā€˜cā€™ was not declared in this s cope 829 | c->thread_count = 1; | ^ --- src/engine/client/video.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/engine/client/video.cpp b/src/engine/client/video.cpp index 536f8a196..c1de61ea4 100644 --- a/src/engine/client/video.cpp +++ b/src/engine/client/video.cpp @@ -826,7 +826,7 @@ bool CVideo::AddStream(OutputStream *pStream, AVFormatContext *pOC, const AVCode #if defined(CONF_ARCH_IA32) || defined(CONF_ARCH_ARM) // use only 1 ffmpeg thread on 32-bit to save memory - c->thread_count = 1; + pContext->thread_count = 1; #endif switch((*ppCodec)->type)