mirror of
https://github.com/androidx/media.git
synced 2025-04-30 06:46:50 +08:00
Fix 'narrowing conversion' warning in FragmentedMp4Extractor
PiperOrigin-RevId: 696119977
This commit is contained in:
parent
c3d4722197
commit
0f96ad247d
@ -612,7 +612,7 @@ public class FragmentedMp4Extractor implements Extractor {
|
||||
}
|
||||
|
||||
private void readAtomPayload(ExtractorInput input) throws IOException {
|
||||
int atomPayloadSize = (int) atomSize - atomHeaderBytesRead;
|
||||
int atomPayloadSize = (int) (atomSize - atomHeaderBytesRead);
|
||||
@Nullable ParsableByteArray atomData = this.atomData;
|
||||
if (atomData != null) {
|
||||
input.readFully(atomData.getData(), Mp4Box.HEADER_SIZE, atomPayloadSize);
|
||||
|
Loading…
x
Reference in New Issue
Block a user