mirror of
https://github.com/samsonjs/media.git
synced 2026-04-07 11:35:46 +00:00
Use uppercase for hex literals.
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=112252404
This commit is contained in:
parent
5baf55176b
commit
9bb124a011
2 changed files with 2 additions and 2 deletions
|
|
@ -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();
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue