forked from FFmpeg/FFmpeg
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>
This commit is contained in:
parent
a7a46aff46
commit
e8777221f2
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue