Commit 2b42f0d3 by andrewlewis Committed by Oliver Woodman

Remove unnecessary check

PiperOrigin-RevId: 239149688
parent 8ffd7da8
...@@ -1059,7 +1059,7 @@ public class FragmentedMp4Extractor implements Extractor { ...@@ -1059,7 +1059,7 @@ public class FragmentedMp4Extractor implements Extractor {
byte[] keyId = new byte[16]; byte[] keyId = new byte[16];
sgpd.readBytes(keyId, 0, keyId.length); sgpd.readBytes(keyId, 0, keyId.length);
byte[] constantIv = null; byte[] constantIv = null;
if (isProtected && perSampleIvSize == 0) { if (perSampleIvSize == 0) {
int constantIvSize = sgpd.readUnsignedByte(); int constantIvSize = sgpd.readUnsignedByte();
constantIv = new byte[constantIvSize]; constantIv = new byte[constantIvSize];
sgpd.readBytes(constantIv, 0, constantIvSize); sgpd.readBytes(constantIv, 0, constantIvSize);
......
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