You've already forked FFmpeg
							
							
				mirror of
				https://github.com/FFmpeg/FFmpeg.git
				synced 2025-10-30 23:18:11 +02:00 
			
		
		
		
	avdevice/dshow: reuse unused variables.
Fix for f125c504d8, requested_sample_rate
and such should be used.
Signed-off-by: Diederick Niehorster <dcnieho@gmail.com>
Signed-off-by: James Almer <jamrial@gmail.com>
			
			
This commit is contained in:
		
				
					committed by
					
						 James Almer
						James Almer
					
				
			
			
				
	
			
			
			
						parent
						
							e71d5156c8
						
					
				
				
					commit
					d2d8b9b972
				
			| @@ -1003,9 +1003,9 @@ dshow_cycle_formats(AVFormatContext *avctx, enum dshowDeviceType devtype, | ||||
|                 continue; | ||||
|             } | ||||
|             if ( | ||||
|                 (ctx->sample_rate && ctx->sample_rate != fx->nSamplesPerSec) || | ||||
|                 (ctx->sample_size && ctx->sample_size != fx->wBitsPerSample) || | ||||
|                 (ctx->channels    && ctx->channels    != fx->nChannels     ) | ||||
|                 (requested_sample_rate && requested_sample_rate != fx->nSamplesPerSec) || | ||||
|                 (requested_sample_size && requested_sample_size != fx->wBitsPerSample) || | ||||
|                 (requested_channels    && requested_channels    != fx->nChannels     ) | ||||
|             ) { | ||||
|                 goto next; | ||||
|             } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user