diff options
author | Anton Khirnov <anton@khirnov.net> | 2023-07-26 17:31:38 +0200 |
---|---|---|
committer | James Almer <jamrial@gmail.com> | 2023-07-28 09:11:26 -0300 |
commit | e8777221f27401b8540e9a41aea4f6e55263fc65 (patch) | |
tree | 5c1ab0e8aa56788f98f0cdd43d8f2730882e1235 /fftools | |
parent | a7a46aff463ca88ea719dc51a99a334b1aaae145 (diff) | |
download | ffmpeg-e8777221f27401b8540e9a41aea4f6e55263fc65.tar.gz |
fftools/ffprobe: fix handling parse_options() return value
Reviewed-by: James Almer <jamrial@gmail.com>
Reviewed-by: Marton Balint <cus@passwd.hu>
Signed-off-by: James Almer <jamrial@gmail.com>
Diffstat (limited to 'fftools')
-rw-r--r-- | fftools/ffprobe.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fftools/ffprobe.c b/fftools/ffprobe.c index a39185f6fe..81610c097b 100644 --- a/fftools/ffprobe.c +++ b/fftools/ffprobe.c @@ -4113,7 +4113,7 @@ int main(int argc, char **argv) show_banner(argc, argv, options); ret = parse_options(NULL, argc, argv, options, opt_input_file); if (ret < 0) { - ret = AVERROR_EXIT ? 0 : ret; + ret = (ret == AVERROR_EXIT) ? 0 : ret; goto end; } |