Remote Input: fixed read pointer initialization. Fixes segfault when stream sample rate is lowered

pull/1092/head
f4exb 2021-12-26 11:55:16 +01:00
rodzic d981912eee
commit 1d2187d059
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -93,8 +93,8 @@ void RemoteInputBuffer::setNbDecoderSlots(int nbDecoderSlots)
m_decoderSlots = new DecoderSlot[m_nbDecoderSlots];
m_frames = new BufferFrame[m_nbDecoderSlots];
m_frameHead = -1;
initReadIndex();
}
void RemoteInputBuffer::setBufferLenSec(const RemoteMetaDataFEC& metaData)