Update Ac4Reader.java

This commit is contained in:
BAI Yanning 2019-01-25 16:49:43 +08:00 committed by GitHub
parent 460f576142
commit 51632f027d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -115,7 +115,7 @@ public final class Ac4Reader implements ElementaryStreamReader {
if (skipToNextSync(data)) {
state = STATE_READING_HEADER;
headerScratchBytes.data[0] = (byte)0xAC;
headerScratchBytes.data[1] = headerScratchBytes.data[1] = (byte)(hasCRC ? 0x41 : 0x40);
headerScratchBytes.data[1] = (byte)(hasCRC ? 0x41 : 0x40);
bytesRead = 2;
}
break;