mirror of
				https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
				synced 2025-11-03 09:01:50 -05:00 
			
		
		
		
	don't access stream before it is valid
git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/glitch-free@2439 fefdeb5f-60dc-0310-8127-8f9354f1896f
This commit is contained in:
		
							parent
							
								
									74f8a67e98
								
							
						
					
					
						commit
						99a451655a
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
					@ -370,7 +370,7 @@ void pa_command_stream_moved(pa_pdispatch *pd, uint32_t command, PA_GCC_UNUSED u
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    if (c->version >= 13) {
 | 
					    if (c->version >= 13) {
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        if (s->direction == PA_STREAM_RECORD) {
 | 
					        if (command == PA_COMMAND_RECORD_STREAM_MOVED) {
 | 
				
			||||||
            if (pa_tagstruct_getu32(t, &maxlength) < 0 ||
 | 
					            if (pa_tagstruct_getu32(t, &maxlength) < 0 ||
 | 
				
			||||||
                pa_tagstruct_getu32(t, &fragsize) < 0 ||
 | 
					                pa_tagstruct_getu32(t, &fragsize) < 0 ||
 | 
				
			||||||
                pa_tagstruct_get_usec(t, &usec) < 0) {
 | 
					                pa_tagstruct_get_usec(t, &usec) < 0) {
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue