Commit 5c616fe4 authored by Stefano Sabatini's avatar Stefano Sabatini

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.
parent 1fc626f8
......@@ -2359,5 +2359,5 @@ end:
avformat_network_deinit();
return ret;
return ret < 0;
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment