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; }