diff options
author | Stefano Sabatini <stefasab@gmail.com> | 2013-06-27 00:13:41 +0200 |
---|---|---|
committer | Stefano Sabatini <stefasab@gmail.com> | 2013-06-27 00:20:36 +0200 |
commit | 5c616fe48bf65a04a8a708848414f7c2b9c928f7 (patch) | |
tree | fd9d4f143f5454deb1d1c6199a7be90e9ac5c772 /ffprobe.c | |
parent | 1fc626f8d072b67e8f6b63e38f51c1ca051c42ff (diff) | |
download | ffmpeg-5c616fe48bf65a04a8a708848414f7c2b9c928f7.tar.gz |
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.
Diffstat (limited to 'ffprobe.c')
-rw-r--r-- | ffprobe.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -2359,5 +2359,5 @@ end: avformat_network_deinit(); - return ret; + return ret < 0; } |