Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1diff --git a/src/device/decoder/decoder.cpp b/src/device/decoder/decoder.cpp
2index 79dec15..5f6979b 100644
3--- a/src/device/decoder/decoder.cpp
4+++ b/QtScrcpy/QtScrcpyCore/src/device/decoder/decoder.cpp
5@@ -51,9 +51,6 @@ void Decoder::close()
6 if (!m_codecCtx) {
7 return;
8 }
9- if (m_isCodecCtxOpen) {
10- avcodec_close(m_codecCtx);
11- }
12 avcodec_free_context(&m_codecCtx);
13 }
14