mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
For #820, fix ubuntu build failed.
This commit is contained in:
parent
362b5788cd
commit
b75a3fad4e
2 changed files with 2 additions and 1 deletions
|
@ -4095,7 +4095,7 @@ int SrsMp4Decoder::parse_ftyp(SrsMp4FileTypeBox* ftyp)
|
||||||
SrsMp4BoxBrandISOM, SrsMp4BoxBrandISO2, SrsMp4BoxBrandAVC1, SrsMp4BoxBrandMP41,
|
SrsMp4BoxBrandISOM, SrsMp4BoxBrandISO2, SrsMp4BoxBrandAVC1, SrsMp4BoxBrandMP41,
|
||||||
SrsMp4BoxBrandISO5
|
SrsMp4BoxBrandISO5
|
||||||
};
|
};
|
||||||
for (int i = 0; i < (int)sizeof(legal_brands)/sizeof(SrsMp4BoxBrand); i++) {
|
for (int i = 0; i < (int)(sizeof(legal_brands)/sizeof(SrsMp4BoxBrand)); i++) {
|
||||||
if (ftyp->major_brand == legal_brands[i]) {
|
if (ftyp->major_brand == legal_brands[i]) {
|
||||||
legal_brand = true;
|
legal_brand = true;
|
||||||
break;
|
break;
|
||||||
|
|
|
@ -23,6 +23,7 @@
|
||||||
|
|
||||||
#include <srs_service_http_conn.hpp>
|
#include <srs_service_http_conn.hpp>
|
||||||
|
|
||||||
|
#include <stdlib.h>
|
||||||
#include <sstream>
|
#include <sstream>
|
||||||
using namespace std;
|
using namespace std;
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue