diff options
author | Anton Khirnov <anton@khirnov.net> | 2022-10-17 12:35:22 +0200 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2022-10-25 11:04:42 +0200 |
commit | c20977c4e038b7c4b37ddcb300cf13a5881cc724 (patch) | |
tree | 23f22644498ae291f7f4cdf2201fbbe414786fba /fftools/ffmpeg.c | |
parent | 295848bacb120da0fbe74b7f98888c328ac8dd44 (diff) | |
download | ffmpeg-c20977c4e038b7c4b37ddcb300cf13a5881cc724.tar.gz |
fftools/ffmpeg: drop free_input_threads()
Stop demuxer threads in ifile_close() instead. Simplifies the demuxer
API.
Diffstat (limited to 'fftools/ffmpeg.c')
-rw-r--r-- | fftools/ffmpeg.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/fftools/ffmpeg.c b/fftools/ffmpeg.c index 842ed2fa66..93d1551e1e 100644 --- a/fftools/ffmpeg.c +++ b/fftools/ffmpeg.c @@ -555,7 +555,6 @@ static void ffmpeg_cleanup(int ret) for (i = 0; i < nb_output_files; i++) of_close(&output_files[i]); - free_input_threads(); for (i = 0; i < nb_input_files; i++) ifile_close(&input_files[i]); @@ -3934,7 +3933,6 @@ static int transcode(void) /* dump report by using the output first video and audio streams */ print_report(0, timer_start, cur_time); } - free_input_threads(); /* at the end of stream, we must flush the decoder buffers */ for (i = 0; i < nb_input_streams; i++) { @@ -3987,8 +3985,6 @@ static int transcode(void) ret = 0; fail: - free_input_threads(); - return ret; } |