aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2015-05-15 22:30:42 +0200
committerMichael Niedermayer <michaelni@gmx.at>2015-05-15 23:46:10 +0200
commit3a91a07f15e89633c49ab8f6ea08f9ea4a2696d0 (patch)
tree8948e0a28b06e9365634ea97271a4da06edcb4bc
parent3051e7fa712dfe2136f19b7157211453895f2a3c (diff)
downloadffmpeg-3a91a07f15e89633c49ab8f6ea08f9ea4a2696d0.tar.gz
ffmpeg: Remove another unneeded ost->filter_graph check
Fixes CID1241508 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-rw-r--r--ffmpeg.c2
1 files changed, 1 insertions, 1 deletions
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;