summaryrefslogtreecommitdiff
path: root/fftools
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2021-12-10 14:19:52 +0100
committerAnton Khirnov <anton@khirnov.net>2022-01-10 15:57:22 +0100
commit1b24a1ea14c028e4f98ea19098aec41334e9a7f0 (patch)
treeae0e0fdf4b0c1a8772ebcc3dc669ea20671f498d /fftools
parent0b13c34a654891c91b9931fe59537dc028922f32 (diff)
ffmpeg: remove a redundant assignment of interrupt_callback
It is already set in open_output_file().
Diffstat (limited to 'fftools')
-rw-r--r--fftools/ffmpeg.c2
1 files changed, 0 insertions, 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,