diff options
author | Anton Khirnov <anton@khirnov.net> | 2022-11-25 21:31:09 +0100 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2022-11-28 10:28:14 +0100 |
commit | d60d6d819d49740eeba51d8b60e34d9340eeeaf6 (patch) | |
tree | 6e964f65d8cd586dc4b86e139d05db8529bd2a0a | |
parent | 8ee4365ad8e437e564e4daa8ac4b9f94624c386c (diff) |
fftools/ffmpeg: drop an always-false check
-rw-r--r-- | fftools/ffmpeg.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fftools/ffmpeg.c b/fftools/ffmpeg.c index 8f27b5ca3f..0128476f57 100644 --- a/fftools/ffmpeg.c +++ b/fftools/ffmpeg.c @@ -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 AVCodecContext *enc = ost->enc_ctx; AVRational filter_tb = (AVRational){ -1, -1 }; - if (frame->pts == AV_NOPTS_VALUE || !enc) + if (frame->pts == AV_NOPTS_VALUE) goto early_exit; { |