mirror of
https://github.com/samsonjs/media.git
synced 2026-04-27 15:07:40 +00:00
Use getDeclaredLength() for setting length of AssetFileDescriptor
Should have been part of the change: 0ac90855b4.
PiperOrigin-RevId: 655873821
This commit is contained in:
parent
d160aa2520
commit
80202bc9f2
1 changed files with 1 additions and 1 deletions
|
|
@ -207,7 +207,7 @@ public final class MediaExtractorCompat {
|
||||||
setDataSource(
|
setDataSource(
|
||||||
assetFileDescriptor.getFileDescriptor(),
|
assetFileDescriptor.getFileDescriptor(),
|
||||||
assetFileDescriptor.getStartOffset(),
|
assetFileDescriptor.getStartOffset(),
|
||||||
assetFileDescriptor.getLength());
|
assetFileDescriptor.getDeclaredLength());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue