summaryrefslogtreecommitdiff
path: root/fftools/ffmpeg.c
diff options
context:
space:
mode:
authorJames Almer <jamrial@gmail.com>2021-09-03 10:30:32 -0300
committerJames Almer <jamrial@gmail.com>2021-09-04 10:35:07 -0300
commit7453d3482a02452d67ca2fa2a2ed1e6094fdddeb (patch)
treef7be2b74c37d982e307b441d7293bbb5d58a6d8f /fftools/ffmpeg.c
parentf599ae88c25d2c84c4f3be1abe30777b68e249d5 (diff)
ffmpeg: let AVFilterGraph parse the filter_threads option
This way the CLI accepts for "filter_threads" the same values as for the libavcodec specific option "threads". Fixes FATE with THREADS=auto which was broken in bdc1bdf3f5. Signed-off-by: James Almer <jamrial@gmail.com>
Diffstat (limited to 'fftools/ffmpeg.c')
-rw-r--r--fftools/ffmpeg.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/fftools/ffmpeg.c b/fftools/ffmpeg.c
index c3df955a6a..fb2d9a81e7 100644
--- a/fftools/ffmpeg.c
+++ b/fftools/ffmpeg.c
@@ -653,6 +653,7 @@ static void ffmpeg_cleanup(int ret)
av_err2str(AVERROR(errno)));
}
av_freep(&vstats_filename);
+ av_freep(&filter_nbthreads);
av_freep(&input_streams);
av_freep(&input_files);