1
0
Fork 0
mirror of https://github.com/ossrs/srs.git synced 2025-03-09 15:49:59 +00:00

refine code, for cubieboard to build ok.

This commit is contained in:
winlin 2014-07-14 17:45:27 +08:00
parent 3218b042b8
commit 9860e390a3

View file

@ -23,6 +23,8 @@ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
#include <srs_lib_bandwidth.hpp>
#include <unistd.h>
#include <sstream>
using namespace std;
@ -373,12 +375,9 @@ int SrsBandwidthClient::final(SrsBandwidthPacket** ppkt)
{
int ret = ERROR_SUCCESS;
if (true) {
SrsBandwidthPacket* pkt = NULL;
if ((ret = _srs_expect_bandwidth_packet2(_rtmp, _bandwidth_is_finish, ppkt)) != ERROR_SUCCESS) {
return ret;
}
}
srs_info("BW check recv finish/report request.");
if (true) {