Commit cf410f8f authored by Michael Niedermayer's avatar Michael Niedermayer

ffmpeg: Drop redundant ist check

stream copy always has a input stream, it cannot use complex video/audio filters with unambigous input
Fixes CID1322348
Signed-off-by: 's avatarMichael Niedermayer <michael@niedermayer.cc>
parent e9c58033
......@@ -2914,7 +2914,7 @@ static int transcode_init(void)
enc_ctx->time_base = dec_ctx->time_base;
}
if (ist && !ost->frame_rate.num)
if (!ost->frame_rate.num)
ost->frame_rate = ist->framerate;
if(ost->frame_rate.num)
enc_ctx->time_base = av_inv_q(ost->frame_rate);
......
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