mirror of
https://github.com/androidx/media.git
synced 2025-05-17 04:29:55 +08:00
parent
8c98c588e8
commit
072c63c33e
@ -102,10 +102,13 @@ import java.util.List;
|
||||
int fixedSampleSize = stsz.readUnsignedIntToInt();
|
||||
int sampleCount = stsz.readUnsignedIntToInt();
|
||||
|
||||
long[] offsets = new long[sampleCount];
|
||||
int[] sizes = new int[sampleCount];
|
||||
long[] timestamps = new long[sampleCount];
|
||||
long[] offsets = new long[sampleCount];
|
||||
int[] flags = new int[sampleCount];
|
||||
if (sampleCount == 0) {
|
||||
return new TrackSampleTable(offsets, sizes, timestamps, flags);
|
||||
}
|
||||
|
||||
// Prepare to read chunk offsets.
|
||||
chunkOffsets.setPosition(Atom.FULL_HEADER_SIZE);
|
||||
|
Loading…
x
Reference in New Issue
Block a user