Merge pull request #3117 from kapodamy/fixup

fixup for #3081
This commit is contained in:
Tobias Groza 2020-02-20 18:15:21 +01:00 committed by GitHub
commit 18d986a57d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 1 deletions

View File

@ -291,8 +291,10 @@ public class Mp4FromDashWriter {
sampleCount[i] = 1;// the index is not base zero
sampleExtra[i] = -1;
}
if (tablesInfo[i].sbgp > 0) {
writeEntryArray(tablesInfo[i].sbgp, 1, sampleCount[i]);
}
}
if (auxBuffer == null) {
outRestore();