1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-12-23 12:43:46 +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:
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;
}