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 <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) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue