Commit 3a91a07f authored by Michael Niedermayer's avatar Michael Niedermayer

ffmpeg: Remove another unneeded ost->filter_graph check

Fixes CID1241508
Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent 3051e7fa
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment