From 5c616fe48bf65a04a8a708848414f7c2b9c928f7 Mon Sep 17 00:00:00 2001 From: Stefano Sabatini Date: Thu, 27 Jun 2013 00:13:41 +0200 Subject: 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. --- ffprobe.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ffprobe.c') diff --git a/ffprobe.c b/ffprobe.c index 735eb64b4c..28c954daae 100644 --- a/ffprobe.c +++ b/ffprobe.c @@ -2359,5 +2359,5 @@ end: avformat_network_deinit(); - return ret; + return ret < 0; } -- cgit v1.2.3