ffmpeg: Remove another unneeded ost->filter_graph check
authorMichael Niedermayer <michaelni@gmx.at>
Fri, 15 May 2015 20:30:42 +0000 (22:30 +0200)
committerMichael Niedermayer <michaelni@gmx.at>
Fri, 15 May 2015 21:46:10 +0000 (23:46 +0200)
Fixes CID1241508

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
ffmpeg.c

index 877e914..49a4326 100644 (file)
--- 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;