You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-10 06:10:52 +02:00
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:
committed by
James Almer
parent
a7a46aff46
commit
e8777221f2
@@ -4113,7 +4113,7 @@ int main(int argc, char **argv)
|
|||||||
show_banner(argc, argv, options);
|
show_banner(argc, argv, options);
|
||||||
ret = parse_options(NULL, argc, argv, options, opt_input_file);
|
ret = parse_options(NULL, argc, argv, options, opt_input_file);
|
||||||
if (ret < 0) {
|
if (ret < 0) {
|
||||||
ret = AVERROR_EXIT ? 0 : ret;
|
ret = (ret == AVERROR_EXIT) ? 0 : ret;
|
||||||
goto end;
|
goto end;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user