mirror of
				https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
				synced 2025-11-03 09:01:50 -05:00 
			
		
		
		
	Fix return value of --dump-resample-methods
We should return 0 when --dump-resample-methods is called. Problem identified by "hchen59". Closes bug #407.
This commit is contained in:
		
							parent
							
								
									8977b2e61d
								
							
						
					
					
						commit
						e4aa5f2115
					
				
					 1 changed files with 1 additions and 0 deletions
				
			
		| 
						 | 
					@ -580,6 +580,7 @@ int main(int argc, char *argv[]) {
 | 
				
			||||||
                if (pa_resample_method_supported(i))
 | 
					                if (pa_resample_method_supported(i))
 | 
				
			||||||
                    printf("%s\n", pa_resample_method_to_string(i));
 | 
					                    printf("%s\n", pa_resample_method_to_string(i));
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					            retval = 0;
 | 
				
			||||||
            goto finish;
 | 
					            goto finish;
 | 
				
			||||||
        }
 | 
					        }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue