ffplay: Fix usage of private lavfi API
Reviewed-by: Michael Niedermayer <michael@niedermayer.cc>
This commit is contained in:
		
							parent
							
								
									6c841e03ce
								
							
						
					
					
						commit
						1bd9fb6de5
					
				
							
								
								
									
										2
									
								
								ffplay.c
									
									
									
									
									
								
							
							
						
						
									
										2
									
								
								ffplay.c
									
									
									
									
									
								
							@ -2725,7 +2725,7 @@ static int stream_component_open(VideoState *is, int stream_index)
 | 
			
		||||
                goto fail;
 | 
			
		||||
            link = is->out_audio_filter->inputs[0];
 | 
			
		||||
            sample_rate    = link->sample_rate;
 | 
			
		||||
            nb_channels    = link->channels;
 | 
			
		||||
            nb_channels    = avfilter_link_get_channels(link);
 | 
			
		||||
            channel_layout = link->channel_layout;
 | 
			
		||||
        }
 | 
			
		||||
#else
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user