diff --git a/plugins/channelrx/demodatv/atvdemod.h b/plugins/channelrx/demodatv/atvdemod.h index 4f88e4253..672e31a64 100644 --- a/plugins/channelrx/demodatv/atvdemod.h +++ b/plugins/channelrx/demodatv/atvdemod.h @@ -546,7 +546,7 @@ private: else if (m_intColIndex >= m_intNumberSamplePerLine + m_intNumberSamplePerTop) // No valid H sync { //qDebug("HLine: %d", m_intColIndex); - m_intColIndex = 0; + m_intColIndex = m_intNumberSamplePerTop; blnNewLine = true; }