mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-03-17 20:17:55 +02:00
ffprobe: always exit 1 in case of errors
This is consistent with the other ff* tools, and also avoids spurious success reports when ret%256 = 0.
This commit is contained in:
parent
1fc626f8d0
commit
5c616fe48b
@ -2359,5 +2359,5 @@ end:
|
||||
|
||||
avformat_network_deinit();
|
||||
|
||||
return ret;
|
||||
return ret < 0;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user