Fixed minor bugs in MP4, resulting in working mp4 conversion.
This commit is contained in:
parent
b83203501c
commit
9d9709f38b
1 changed files with 0 additions and 1 deletions
|
@ -3972,7 +3972,6 @@ namespace MP4 {
|
||||||
|
|
||||||
void STCO::setChunkOffset(uint32_t newChunkOffset, uint32_t no){
|
void STCO::setChunkOffset(uint32_t newChunkOffset, uint32_t no){
|
||||||
if (no + 1 > getEntryCount()){
|
if (no + 1 > getEntryCount()){
|
||||||
setEntryCount(no+1);
|
|
||||||
for (int i = getEntryCount(); i < no; i++){
|
for (int i = getEntryCount(); i < no; i++){
|
||||||
setInt32(0, 8 + i * 4);//filling undefined entries
|
setInt32(0, 8 + i * 4);//filling undefined entries
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue