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:
parent
3218b042b8
commit
9860e390a3
1 changed files with 4 additions and 5 deletions
|
@ -23,6 +23,8 @@ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||||
|
|
||||||
#include <srs_lib_bandwidth.hpp>
|
#include <srs_lib_bandwidth.hpp>
|
||||||
|
|
||||||
|
#include <unistd.h>
|
||||||
|
|
||||||
#include <sstream>
|
#include <sstream>
|
||||||
using namespace std;
|
using namespace std;
|
||||||
|
|
||||||
|
@ -373,11 +375,8 @@ int SrsBandwidthClient::final(SrsBandwidthPacket** ppkt)
|
||||||
{
|
{
|
||||||
int ret = ERROR_SUCCESS;
|
int ret = ERROR_SUCCESS;
|
||||||
|
|
||||||
if (true) {
|
if ((ret = _srs_expect_bandwidth_packet2(_rtmp, _bandwidth_is_finish, ppkt)) != ERROR_SUCCESS) {
|
||||||
SrsBandwidthPacket* pkt = NULL;
|
return ret;
|
||||||
if ((ret = _srs_expect_bandwidth_packet2(_rtmp, _bandwidth_is_finish, ppkt)) != ERROR_SUCCESS) {
|
|
||||||
return ret;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
srs_info("BW check recv finish/report request.");
|
srs_info("BW check recv finish/report request.");
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue