Fix compilation in video.cpp

/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;
      |         ^
This commit is contained in:
def 2022-07-10 01:08:33 +02:00
parent e9f95dbefd
commit eb14755501

View file

@ -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)