Use uppercase for hex literals.

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=112252404
This commit is contained in:
andrewlewis 2016-01-15 08:43:00 -08:00 committed by Oliver Woodman
parent 5baf55176b
commit 9bb124a011
2 changed files with 2 additions and 2 deletions

View file

@ -660,7 +660,7 @@ public final class FragmentedMp4Extractor implements Extractor {
} }
long referenceDuration = atom.readUnsignedInt(); long referenceDuration = atom.readUnsignedInt();
sizes[i] = 0x7fffffff & firstInt; sizes[i] = 0x7FFFFFFF & firstInt;
offsets[i] = offset; offsets[i] = offset;
// Calculate time and duration values such that any rounding errors are consistent. i.e. That // Calculate time and duration values such that any rounding errors are consistent. i.e. That

View file

@ -93,7 +93,7 @@ import java.util.regex.Pattern;
long color = Long.parseLong(colorExpression.substring(1), 16); long color = Long.parseLong(colorExpression.substring(1), 16);
if (colorExpression.length() == 7) { if (colorExpression.length() == 7) {
// Set the alpha value // Set the alpha value
color |= 0x00000000ff000000; color |= 0x00000000FF000000;
} else if (colorExpression.length() != 9) { } else if (colorExpression.length() != 9) {
throw new IllegalArgumentException(); throw new IllegalArgumentException();
} }