mirror of
https://github.com/samsonjs/media.git
synced 2026-03-25 09:25:53 +00:00
Avoid Clearing Supplemental Data Flag In MatroskExtractor
PiperOrigin-RevId: 429368911
This commit is contained in:
parent
f1e59f8001
commit
c80d30ebce
1 changed files with 1 additions and 1 deletions
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Reference in a new issue