decoder/wavpack: fix crash bug
This commit is contained in:
		
							
								
								
									
										2
									
								
								NEWS
									
									
									
									
									
								
							
							
						
						
									
										2
									
								
								NEWS
									
									
									
									
									
								
							@@ -1,6 +1,8 @@
 | 
			
		||||
ver 0.20.1 (not yet released)
 | 
			
		||||
* input
 | 
			
		||||
  - curl: fix crash bug
 | 
			
		||||
* decoder
 | 
			
		||||
  - wavpack: fix crash bug
 | 
			
		||||
* storage
 | 
			
		||||
  - curl: new storage plugin for WebDAV (work in progress)
 | 
			
		||||
* mixer
 | 
			
		||||
 
 | 
			
		||||
@@ -536,7 +536,7 @@ wavpack_streamdecode(DecoderClient &client, InputStream &is)
 | 
			
		||||
	auto is_wvc = wavpack_open_wvc(client, is.GetURI());
 | 
			
		||||
	if (is_wvc) {
 | 
			
		||||
		open_flags |= OPEN_WVC;
 | 
			
		||||
		can_seek &= wvc->is.IsSeekable();
 | 
			
		||||
		can_seek &= is_wvc->IsSeekable();
 | 
			
		||||
 | 
			
		||||
		wvc.reset(new WavpackInput(&client, *is_wvc));
 | 
			
		||||
	}
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user