ffmpeg: Remove another unneeded ost->filter_graph check
Fixes CID1241508 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
		
							parent
							
								
									3051e7fa71
								
							
						
					
					
						commit
						3a91a07f15
					
				
							
								
								
									
										2
									
								
								ffmpeg.c
									
									
									
									
									
								
							
							
						
						
									
										2
									
								
								ffmpeg.c
									
									
									
									
									
								
							| @ -2849,7 +2849,7 @@ static int transcode_init(void) | |||||||
|             } |             } | ||||||
| 
 | 
 | ||||||
|             if (enc_ctx->codec_type == AVMEDIA_TYPE_VIDEO) { |             if (enc_ctx->codec_type == AVMEDIA_TYPE_VIDEO) { | ||||||
|                 if (ost->filter && !ost->frame_rate.num) |                 if (!ost->frame_rate.num) | ||||||
|                     ost->frame_rate = av_buffersink_get_frame_rate(ost->filter->filter); |                     ost->frame_rate = av_buffersink_get_frame_rate(ost->filter->filter); | ||||||
|                 if (ist && !ost->frame_rate.num) |                 if (ist && !ost->frame_rate.num) | ||||||
|                     ost->frame_rate = ist->framerate; |                     ost->frame_rate = ist->framerate; | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user