Commit 3472e86c by Oliver Woodman

Correctly reset ADTSreader state

parent 40411269
......@@ -137,6 +137,8 @@ import java.util.Collections;
if (found) {
hasCrc = (adtsData[i] & 0x1) == 0;
pesBuffer.setPosition(i + 1);
// Reset lastByteWasFF for next time.
lastByteWasFF = false;
return true;
}
}
......
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