mirror of
				https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
				synced 2025-11-03 09:01:50 -05:00 
			
		
		
		
	Some memcpy arithmetic that wasn't removed when doing the redesign to update
the data pointer instead. git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@654 fefdeb5f-60dc-0310-8127-8f9354f1896f
This commit is contained in:
		
							parent
							
								
									e5a5b56d6e
								
							
						
					
					
						commit
						add110bd10
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -669,7 +669,7 @@ static int esd_proto_sample_cache(struct connection *c, PA_GCC_UNUSED esd_proto_
 | 
			
		|||
    format = MAYBE_INT32_SWAP(c->swap_byte_order, format);
 | 
			
		||||
    data = (const char*)data + sizeof(int32_t);
 | 
			
		||||
 | 
			
		||||
    memcpy(&rate, (const char*)data + sizeof(int32_t), sizeof(int32_t));
 | 
			
		||||
    memcpy(&rate, data, sizeof(int32_t));
 | 
			
		||||
    rate = MAYBE_INT32_SWAP(c->swap_byte_order, rate);
 | 
			
		||||
    data = (const char*)data + sizeof(int32_t);
 | 
			
		||||
    
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue