diff options
author | Anton Khirnov <anton@khirnov.net> | 2022-10-17 11:23:55 +0200 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2022-10-25 11:04:42 +0200 |
commit | 09cd147dccc149ae17081d6016ccb79f1afcb592 (patch) | |
tree | 788a03b37b479655078b71b0ba5b788bf157caf1 /fftools/ffmpeg.c | |
parent | 69753205065e6152caa4e971a9c8f7d018097e6c (diff) |
fftools/ffmpeg: drop init_input_threads()
Start threads implicitly when ifile_get_packet() is called. Simplifies
the demuxer API.
Diffstat (limited to 'fftools/ffmpeg.c')
-rw-r--r-- | fftools/ffmpeg.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/fftools/ffmpeg.c b/fftools/ffmpeg.c index e57486fd4a..f8b02a8871 100644 --- a/fftools/ffmpeg.c +++ b/fftools/ffmpeg.c @@ -3912,9 +3912,6 @@ static int transcode(void) timer_start = av_gettime_relative(); - if ((ret = init_input_threads()) < 0) - goto fail; - while (!received_sigterm) { int64_t cur_time= av_gettime_relative(); |