Avoid Clearing Supplemental Data Flag In MatroskExtractor

PiperOrigin-RevId: 429368911
This commit is contained in:
olly 2022-02-17 20:04:49 +00:00 committed by Ian Baker
parent f1e59f8001
commit c80d30ebce

View file

@ -1421,7 +1421,7 @@ public class MatroskaExtractor implements Extractor {
if (blockSampleCount > 1) {
// There were multiple samples in the block. Appending the additional data to the last
// sample doesn't make sense. Skip instead.
flags &= ~C.BUFFER_FLAG_HAS_SUPPLEMENTAL_DATA;
supplementalData.reset(/* limit= */ 0);
} else {
// Append supplemental data.
int supplementalDataSize = supplementalData.limit();