mirror of
https://github.com/nyanmisaka/ffmpeg-rockchip.git
synced 2025-10-15 05:11:37 +08:00
fftools/cmdutils: return AVERROR_EXIT for OPT_EXIT options instead of aborting()
This commit is contained in:
@@ -1345,7 +1345,7 @@ int ffmpeg_parse_options(int argc, char **argv)
|
||||
|
||||
fail:
|
||||
uninit_parse_context(&octx);
|
||||
if (ret < 0) {
|
||||
if (ret < 0 && ret != AVERROR_EXIT) {
|
||||
av_log(NULL, AV_LOG_FATAL, "Error %s: %s\n",
|
||||
errmsg ? errmsg : "", av_err2str(ret));
|
||||
}
|
||||
|
Reference in New Issue
Block a user