Changed the code accordingly
+ Removed some unused code
This commit is contained in:
parent
25a43b57b2
commit
8b209df253
35 changed files with 153 additions and 413 deletions
|
|
@ -82,8 +82,8 @@ public class DataReader {
|
|||
|
||||
public long readLong() throws IOException {
|
||||
primitiveRead(LONG_SIZE);
|
||||
final long high
|
||||
= primitive[0] << 24 | primitive[1] << 16 | primitive[2] << 8 | primitive[3];
|
||||
final long high =
|
||||
primitive[0] << 24 | primitive[1] << 16 | primitive[2] << 8 | primitive[3];
|
||||
final long low = primitive[4] << 24 | primitive[5] << 16 | primitive[6] << 8 | primitive[7];
|
||||
return high << 32 | low;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -307,8 +307,8 @@ public class Mp4FromDashWriter {
|
|||
outWrite(makeMdat(totalSampleSize, is64));
|
||||
|
||||
final int[] sampleIndex = new int[readers.length];
|
||||
final int[] sizes
|
||||
= new int[singleSampleBuffer > 0 ? singleSampleBuffer : SAMPLES_PER_CHUNK];
|
||||
final int[] sizes =
|
||||
new int[singleSampleBuffer > 0 ? singleSampleBuffer : SAMPLES_PER_CHUNK];
|
||||
final int[] sync = new int[singleSampleBuffer > 0 ? singleSampleBuffer : SAMPLES_PER_CHUNK];
|
||||
|
||||
int written = readers.length;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue