mirror of
https://github.com/samsonjs/media.git
synced 2026-04-27 15:07:40 +00:00
Avoid Clearing Supplemental Data Flag In MatroskExtractor
PiperOrigin-RevId: 429368911
This commit is contained in:
parent
bdcc9ea163
commit
e32809cf08
1 changed files with 1 additions and 1 deletions
|
|
@ -1419,7 +1419,7 @@ public class MatroskaExtractor implements Extractor {
|
||||||
if (blockSampleCount > 1) {
|
if (blockSampleCount > 1) {
|
||||||
// There were multiple samples in the block. Appending the additional data to the last
|
// There were multiple samples in the block. Appending the additional data to the last
|
||||||
// sample doesn't make sense. Skip instead.
|
// sample doesn't make sense. Skip instead.
|
||||||
flags &= ~C.BUFFER_FLAG_HAS_SUPPLEMENTAL_DATA;
|
supplementalData.reset(/* limit= */ 0);
|
||||||
} else {
|
} else {
|
||||||
// Append supplemental data.
|
// Append supplemental data.
|
||||||
int supplementalDataSize = supplementalData.limit();
|
int supplementalDataSize = supplementalData.limit();
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue