Commit 55620348 by andrewlewis Committed by Oliver Woodman

Fix sequence extension position calculation

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=163814942
parent 1151104e
......@@ -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;
......
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