From 7ceb835acd791de4924dd170128ff021b564bb5b Mon Sep 17 00:00:00 2001 From: xufuji456 <839789740@qq.com> Date: Mon, 8 Nov 2021 23:15:42 +0800 Subject: [PATCH] reset cancel flag --- app/src/main/cpp/ffmpeg/ffmpeg.c | 1 + 1 file changed, 1 insertion(+) diff --git a/app/src/main/cpp/ffmpeg/ffmpeg.c b/app/src/main/cpp/ffmpeg/ffmpeg.c index cb987fe..5cee6b9 100644 --- a/app/src/main/cpp/ffmpeg/ffmpeg.c +++ b/app/src/main/cpp/ffmpeg/ffmpeg.c @@ -4711,6 +4711,7 @@ static int transcode(void) } if (cancel_execute) { + cancel_execute = 0; av_log(NULL, AV_LOG_ERROR, "cancel task by user..."); break; }