mirror of
https://git.videolan.org/git/ffmpeg.git
synced 2024-08-17 23:05:05 +02:00
fftools/ffmpeg: drop an always-false check
This commit is contained in:
parent
8ee4365ad8
commit
d60d6d819d
@ -678,7 +678,7 @@ static double adjust_frame_pts_to_encoder_tb(OutputFile *of, OutputStream *ost,
|
|||||||
double float_pts = AV_NOPTS_VALUE; // this is identical to frame.pts but with higher precision
|
double float_pts = AV_NOPTS_VALUE; // this is identical to frame.pts but with higher precision
|
||||||
AVCodecContext *enc = ost->enc_ctx;
|
AVCodecContext *enc = ost->enc_ctx;
|
||||||
AVRational filter_tb = (AVRational){ -1, -1 };
|
AVRational filter_tb = (AVRational){ -1, -1 };
|
||||||
if (frame->pts == AV_NOPTS_VALUE || !enc)
|
if (frame->pts == AV_NOPTS_VALUE)
|
||||||
goto early_exit;
|
goto early_exit;
|
||||||
|
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user