Fixed iOS/Apple MP4 support
This commit is contained in:
parent
990150aaba
commit
ac55b24e75
2 changed files with 3 additions and 2 deletions
|
@ -2778,6 +2778,7 @@ namespace MP4 {
|
||||||
setFrameCount(1);
|
setFrameCount(1);
|
||||||
setCompressorName("");
|
setCompressorName("");
|
||||||
setDepth(0x0018);
|
setDepth(0x0018);
|
||||||
|
setInt16(0xFFFF, 76);//must be -1
|
||||||
}
|
}
|
||||||
|
|
||||||
void VisualSampleEntry::setCodec(const char * newCodec) {
|
void VisualSampleEntry::setCodec(const char * newCodec) {
|
||||||
|
|
|
@ -439,8 +439,8 @@ namespace Mist {
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
if (byteEnd > size - 1) {
|
if (byteEnd > size) {
|
||||||
byteEnd = size - 1;
|
byteEnd = size;
|
||||||
}
|
}
|
||||||
}else{
|
}else{
|
||||||
byteEnd = size;
|
byteEnd = size;
|
||||||
|
|
Loading…
Add table
Reference in a new issue