Commit e32809cf by olly Committed by Ian Baker

Avoid Clearing Supplemental Data Flag In MatroskExtractor

PiperOrigin-RevId: 429368911
parent bdcc9ea1
......@@ -1419,7 +1419,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();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment