diff --git a/Detector.cpp b/Detector.cpp index 3685235c1..2eda83781 100644 --- a/Detector.cpp +++ b/Detector.cpp @@ -31,8 +31,8 @@ void Detector::clear () // jt9com_.kin = qMin ((msInPeriod * m_frameRate) / 1000, static_cast (sizeof (jt9com_.d2) / sizeof (jt9com_.d2[0]))); jt9com_.kin = 0; - // fill buffer with zeros - qFill (jt9com_.d2, jt9com_.d2 + sizeof (jt9com_.d2) / sizeof (jt9com_.d2[0]), 0); + // fill buffer with zeros (G4WJS commented out because it might cause decoder hangs) + // qFill (jt9com_.d2, jt9com_.d2 + sizeof (jt9com_.d2) / sizeof (jt9com_.d2[0]), 0); } qint64 Detector::writeData (char const * data, qint64 maxSize) diff --git a/mainwindow.cpp b/mainwindow.cpp index bd8b4d4f2..c40f18436 100644 --- a/mainwindow.cpp +++ b/mainwindow.cpp @@ -1,4 +1,4 @@ -//--------------------------------------------------------------- MainWindow +//---------------------------------------------------------------- MainWindow #include "mainwindow.h" #include "ui_mainwindow.h"