Minor fixes for MP4 VoD assets > 4GB
This commit is contained in:
parent
23f0c388b5
commit
56a85cdab5
1 changed files with 3 additions and 1 deletions
|
@ -329,7 +329,9 @@ namespace Mist {
|
|||
header << std::string(moovBox.asBox(), moovBox.boxedSize());
|
||||
|
||||
char mdatHeader[8] = {0x00,0x00,0x00,0x00,'m','d','a','t'};
|
||||
Bit::htobl(mdatHeader, mdatSize);
|
||||
if (mdatSize < 0xFFFFFFFF){
|
||||
Bit::htobl(mdatHeader, mdatSize);
|
||||
}
|
||||
header.write(mdatHeader, 8);
|
||||
|
||||
size += header.str().size();
|
||||
|
|
Loading…
Add table
Reference in a new issue