diff --git a/plugins/channelrx/demoddatv/ldpctool/ldpc_tool.cpp b/plugins/channelrx/demoddatv/ldpctool/ldpc_tool.cpp index 0846b5d73..4994888a3 100644 --- a/plugins/channelrx/demoddatv/ldpctool/ldpc_tool.cpp +++ b/plugins/channelrx/demoddatv/ldpctool/ldpc_tool.cpp @@ -201,9 +201,6 @@ int main(int argc, char **argv) code[(j + n) * CODE_LEN + i] = reinterpret_cast(simd + i)[n]; } - for (int i = 0; i < BLOCKS * CODE_LEN; ++i) - assert(!std::isnan(code[i])); - for (ssize_t pos = 0; pos < iosize;) { ssize_t nw = write(1, code + pos, iosize - pos); diff --git a/plugins/channelrx/demoddatv/ldpctool/ldpcworker.cpp b/plugins/channelrx/demoddatv/ldpctool/ldpcworker.cpp index 4976deaed..b8b77bc90 100644 --- a/plugins/channelrx/demoddatv/ldpctool/ldpcworker.cpp +++ b/plugins/channelrx/demoddatv/ldpctool/ldpcworker.cpp @@ -140,9 +140,6 @@ void LDPCWorker::process(QByteArray data) m_code[(j + n) * m_codeLen + i] = reinterpret_cast(m_simd + i)[n]; } - for (int i = 0; i < BLOCKS * m_codeLen; ++i) - assert(!std::isnan(m_code[i])); - m_mutexOut.lock(); for (int j = 0; j < BLOCKS; j++) {