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>
pull/389/head
Anton Khirnov 1 year ago committed by James Almer
parent a7a46aff46
commit e8777221f2
  1. 2
      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;
}

Loading…
Cancel
Save