mirror of
https://github.com/samsonjs/media.git
synced 2026-03-31 10:25:48 +00:00
Format with google-java-format
This commit is contained in:
parent
b82f4b8e28
commit
4b14bc2c3e
3 changed files with 3 additions and 3 deletions
|
|
@ -519,7 +519,7 @@ public final class H264Reader implements ElementaryStreamReader {
|
|||
public void end(long position) {
|
||||
// Output a final sample with the NAL units currently held
|
||||
nalUnitStartPosition = position + 1;
|
||||
outputSample(/* offset= */ - 1);
|
||||
outputSample(/* offset= */ -1);
|
||||
readingSample = false;
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -395,7 +395,7 @@ public final class H265Reader implements ElementaryStreamReader {
|
|||
public void end(long position) {
|
||||
// Output a final sample with the NAL units currently held
|
||||
nalUnitPosition = position + 1;
|
||||
outputSample(/* offset= */ - 1);
|
||||
outputSample(/* offset= */ -1);
|
||||
readingSample = false;
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -451,7 +451,7 @@ public final class TsExtractor implements Extractor {
|
|||
for (int i = 0; i < tsPayloadReaders.size(); i++) {
|
||||
TsPayloadReader payloadReader = tsPayloadReaders.valueAt(i);
|
||||
if (payloadReader instanceof PesReader) {
|
||||
PesReader pesReader = (PesReader)payloadReader;
|
||||
PesReader pesReader = (PesReader) payloadReader;
|
||||
if (pesReader.canConsumeDummyEndOfInput()) {
|
||||
pesReader.consume(new ParsableByteArray(), FLAG_PAYLOAD_UNIT_START_INDICATOR);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue