From 3a91a07f15e89633c49ab8f6ea08f9ea4a2696d0 Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Fri, 15 May 2015 22:30:42 +0200 Subject: [PATCH] ffmpeg: Remove another unneeded ost->filter_graph check Fixes CID1241508 Signed-off-by: Michael Niedermayer --- ffmpeg.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ffmpeg.c b/ffmpeg.c index 877e914e1d..49a4326fce 100644 --- a/ffmpeg.c +++ b/ffmpeg.c @@ -2849,7 +2849,7 @@ static int transcode_init(void) } 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); if (ist && !ost->frame_rate.num) ost->frame_rate = ist->framerate;