Fixed Yet Another buffer too short.

git-svn-id: http://voip.null.ro/svn/yate@1576 acf43c95-373e-0410-b603-e72c3f656dc1
This commit is contained in:
paulc 2007-12-24 19:45:58 +00:00
parent a94a1059ff
commit ea598d8473
1 changed files with 3 additions and 3 deletions

View File

@ -366,9 +366,9 @@ FSKFilter::FSKFilter(int type)
m_const = s_filterConst + type;
// Update the sine accumulator from constants (current value after created the header)
m_accSin = m_const->accSin;
m_mark.init(m_const->spb);
m_space.init(m_const->spb);
m_lowband.init(m_const->spb);
m_mark.init(1+m_const->spb);
m_space.init(1+m_const->spb);
m_lowband.init(1+m_const->spb);
}
// Process data to demodulate a bit