mirror of
				https://github.com/f4exb/sdrangel.git
				synced 2025-10-30 12:30:20 -04:00 
			
		
		
		
	Remote Input: fixed read pointer initialization. Fixes segfault when stream sample rate is lowered
This commit is contained in:
		
							parent
							
								
									d981912eee
								
							
						
					
					
						commit
						1d2187d059
					
				| @ -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) | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user