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:
Stefano Sabatini 2013-06-27 00:13:41 +02:00
parent 1fc626f8d0
commit 5c616fe48b

View File

@ -2359,5 +2359,5 @@ end:
avformat_network_deinit();
return ret;
return ret < 0;
}