Fix ChunkExtractorWrapper.init(TrackOutput) calls with null TrackOutput after extractor initialized
InitializationChunk calls init(null). When the initialization and index data is separate they need to be loaded separately which results to two init(null) calls. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=147837985
This commit is contained in:
parent
14507c4503
commit
c3d7eecd1f
@ -88,7 +88,7 @@ public final class ChunkExtractorWrapper implements ExtractorOutput, TrackOutput
|
||||
extractorInitialized = true;
|
||||
} else {
|
||||
extractor.seek(0, 0);
|
||||
if (sampleFormat != null) {
|
||||
if (sampleFormat != null && trackOutput != null) {
|
||||
trackOutput.format(sampleFormat);
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user