[FFmpeg-cvslog] ffmpeg: remove a redundant assignment of interrupt_callback
Anton Khirnov
git at videolan.org
Mon Jan 10 17:15:06 EET 2022
ffmpeg | branch: master | Anton Khirnov <anton at khirnov.net> | Fri Dec 10 14:19:52 2021 +0100| [1b24a1ea14c028e4f98ea19098aec41334e9a7f0] | committer: Anton Khirnov
ffmpeg: remove a redundant assignment of interrupt_callback
It is already set in open_output_file().
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=1b24a1ea14c028e4f98ea19098aec41334e9a7f0
---
fftools/ffmpeg.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/fftools/ffmpeg.c b/fftools/ffmpeg.c
index bdeff9a12e..5d134b025f 100644
--- a/fftools/ffmpeg.c
+++ b/fftools/ffmpeg.c
@@ -2951,8 +2951,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,
More information about the ffmpeg-cvslog
mailing list