Format with google-java-format
This commit is contained in:
parent
b82f4b8e28
commit
4b14bc2c3e
@ -519,7 +519,7 @@ public final class H264Reader implements ElementaryStreamReader {
|
|||||||
public void end(long position) {
|
public void end(long position) {
|
||||||
// Output a final sample with the NAL units currently held
|
// Output a final sample with the NAL units currently held
|
||||||
nalUnitStartPosition = position + 1;
|
nalUnitStartPosition = position + 1;
|
||||||
outputSample(/* offset= */ - 1);
|
outputSample(/* offset= */ -1);
|
||||||
readingSample = false;
|
readingSample = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -395,7 +395,7 @@ public final class H265Reader implements ElementaryStreamReader {
|
|||||||
public void end(long position) {
|
public void end(long position) {
|
||||||
// Output a final sample with the NAL units currently held
|
// Output a final sample with the NAL units currently held
|
||||||
nalUnitPosition = position + 1;
|
nalUnitPosition = position + 1;
|
||||||
outputSample(/* offset= */ - 1);
|
outputSample(/* offset= */ -1);
|
||||||
readingSample = false;
|
readingSample = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -451,7 +451,7 @@ public final class TsExtractor implements Extractor {
|
|||||||
for (int i = 0; i < tsPayloadReaders.size(); i++) {
|
for (int i = 0; i < tsPayloadReaders.size(); i++) {
|
||||||
TsPayloadReader payloadReader = tsPayloadReaders.valueAt(i);
|
TsPayloadReader payloadReader = tsPayloadReaders.valueAt(i);
|
||||||
if (payloadReader instanceof PesReader) {
|
if (payloadReader instanceof PesReader) {
|
||||||
PesReader pesReader = (PesReader)payloadReader;
|
PesReader pesReader = (PesReader) payloadReader;
|
||||||
if (pesReader.canConsumeDummyEndOfInput()) {
|
if (pesReader.canConsumeDummyEndOfInput()) {
|
||||||
pesReader.consume(new ParsableByteArray(), FLAG_PAYLOAD_UNIT_START_INDICATOR);
|
pesReader.consume(new ParsableByteArray(), FLAG_PAYLOAD_UNIT_START_INDICATOR);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user