Commit 9bb124a0 by andrewlewis Committed by Oliver Woodman

Use uppercase for hex literals.

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=112252404
parent 5baf5517
......@@ -660,7 +660,7 @@ public final class FragmentedMp4Extractor implements Extractor {
}
long referenceDuration = atom.readUnsignedInt();
sizes[i] = 0x7fffffff & firstInt;
sizes[i] = 0x7FFFFFFF & firstInt;
offsets[i] = offset;
// Calculate time and duration values such that any rounding errors are consistent. i.e. That
......
......@@ -93,7 +93,7 @@ import java.util.regex.Pattern;
long color = Long.parseLong(colorExpression.substring(1), 16);
if (colorExpression.length() == 7) {
// Set the alpha value
color |= 0x00000000ff000000;
color |= 0x00000000FF000000;
} else if (colorExpression.length() != 9) {
throw new IllegalArgumentException();
}
......
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