mirror of
				https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
				synced 2025-11-03 09:01:50 -05:00 
			
		
		
		
	fix esound sample cache names
git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@856 fefdeb5f-60dc-0310-8127-8f9354f1896f
This commit is contained in:
		
							parent
							
								
									0f22d63289
								
							
						
					
					
						commit
						682dfd7adb
					
				
					 1 changed files with 2 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -680,6 +680,7 @@ static int esd_proto_sample_cache(struct connection *c, PA_GCC_UNUSED esd_proto_
 | 
			
		|||
 | 
			
		||||
    memcpy(&sc_length, data, sizeof(int32_t));
 | 
			
		||||
    sc_length = MAYBE_INT32_SWAP(c->swap_byte_order, sc_length);
 | 
			
		||||
    data = (const char*)data + sizeof(int32_t);
 | 
			
		||||
 | 
			
		||||
    CHECK_VALIDITY(sc_length <= MAX_CACHE_SAMPLE_SIZE, "Sample too large.");
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue