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

View file

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