mirror of
https://github.com/samsonjs/media.git
synced 2026-03-26 09:35:47 +00:00
Fix and/or bug in XingSeeker
This was accidentally introduced in 4fde35c9cc
PiperOrigin-RevId: 634465380
This commit is contained in:
parent
25e56474bc
commit
2ac8247cf4
1 changed files with 1 additions and 1 deletions
|
|
@ -40,7 +40,7 @@ import androidx.media3.extractor.SeekPoint;
|
|||
*/
|
||||
@Nullable
|
||||
public static XingSeeker create(long inputLength, XingFrame xingFrame, long position) {
|
||||
if (xingFrame.frameCount == C.LENGTH_UNSET && xingFrame.frameCount == 0) {
|
||||
if (xingFrame.frameCount == C.LENGTH_UNSET || xingFrame.frameCount == 0) {
|
||||
// If the frame count is missing/invalid, the header can't be used to determine the duration.
|
||||
return null;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue