Format with google-java-format

This commit is contained in:
Rohit Singh 2024-03-27 12:55:42 +00:00
parent b82f4b8e28
commit 4b14bc2c3e
3 changed files with 3 additions and 3 deletions

View File

@ -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;
}

View File

@ -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;
}

View File

@ -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);
}