From: Stefano Sabatini Date: Wed, 26 Jun 2013 22:13:41 +0000 (+0200) Subject: ffprobe: always exit 1 in case of errors X-Git-Tag: android-x86-4.4-r1~2699 X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=5c616fe48bf65a04a8a708848414f7c2b9c928f7;p=android-x86%2Fexternal-ffmpeg.git 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. --- 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; }