mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2024-12-11 17:55:21 +00:00
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: Michael Niedermayer <michael@niedermayer.cc>
This commit is contained in:
parent
e9c58033e8
commit
cf410f8fb9
2
ffmpeg.c
2
ffmpeg.c
@ -2914,7 +2914,7 @@ static int transcode_init(void)
|
|||||||
enc_ctx->time_base = dec_ctx->time_base;
|
enc_ctx->time_base = dec_ctx->time_base;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (ist && !ost->frame_rate.num)
|
if (!ost->frame_rate.num)
|
||||||
ost->frame_rate = ist->framerate;
|
ost->frame_rate = ist->framerate;
|
||||||
if(ost->frame_rate.num)
|
if(ost->frame_rate.num)
|
||||||
enc_ctx->time_base = av_inv_q(ost->frame_rate);
|
enc_ctx->time_base = av_inv_q(ost->frame_rate);
|
||||||
|
Loading…
Reference in New Issue
Block a user