[FFmpeg-devel] [PATCH 03/24] ffmpeg: remove a redundant assignment of interrupt_callback

Anton Khirnov anton at khirnov.net
Mon Dec 13 17:20:21 EET 2021


It is already set in open_output_file().
---
 fftools/ffmpeg.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/fftools/ffmpeg.c b/fftools/ffmpeg.c
index b77531cb7f..fb017a1e37 100644
--- a/fftools/ffmpeg.c
+++ b/fftools/ffmpeg.c
@@ -2947,8 +2947,6 @@ static int check_init_output_file(OutputFile *of, int file_index)
             return 0;
     }
 
-    of->ctx->interrupt_callback = int_cb;
-
     ret = avformat_write_header(of->ctx, &of->opts);
     if (ret < 0) {
         av_log(NULL, AV_LOG_ERROR,
-- 
2.33.0



More information about the ffmpeg-devel mailing list