mirror of
https://github.com/samsonjs/media.git
synced 2026-06-28 05:29:33 +00:00
Fix 'narrowing conversion' warning in FragmentedMp4Extractor
PiperOrigin-RevId: 696119977
This commit is contained in:
parent
c3d4722197
commit
0f96ad247d
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Reference in a new issue