mirror of
https://github.com/samsonjs/media.git
synced 2026-03-26 09:35:47 +00:00
Fix sequence extension position calculation
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=163814942
This commit is contained in:
parent
1151104e2f
commit
55620348d4
1 changed files with 1 additions and 1 deletions
|
|
@ -257,7 +257,7 @@ public final class H262Reader implements ElementaryStreamReader {
|
|||
public boolean onStartCode(int startCodeValue, int bytesAlreadyPassed) {
|
||||
if (isFilling) {
|
||||
if (sequenceExtensionPosition == 0 && startCodeValue == START_EXTENSION) {
|
||||
sequenceExtensionPosition = length;
|
||||
sequenceExtensionPosition = length - bytesAlreadyPassed;
|
||||
} else {
|
||||
length -= bytesAlreadyPassed;
|
||||
isFilling = false;
|
||||
|
|
|
|||
Loading…
Reference in a new issue