mirror of
https://github.com/samsonjs/media.git
synced 2026-04-27 15:07:40 +00:00
Force wrapping of HLS ID3 timestamp
Merge of https://github.com/google/ExoPlayer/pull/3495 ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=177057183
This commit is contained in:
parent
1861aea2b3
commit
23a7f2d994
1 changed files with 1 additions and 1 deletions
|
|
@ -306,7 +306,7 @@ import java.util.concurrent.atomic.AtomicInteger;
|
||||||
if (PRIV_TIMESTAMP_FRAME_OWNER.equals(privFrame.owner)) {
|
if (PRIV_TIMESTAMP_FRAME_OWNER.equals(privFrame.owner)) {
|
||||||
System.arraycopy(privFrame.privateData, 0, id3Data.data, 0, 8 /* timestamp size */);
|
System.arraycopy(privFrame.privateData, 0, id3Data.data, 0, 8 /* timestamp size */);
|
||||||
id3Data.reset(8);
|
id3Data.reset(8);
|
||||||
return id3Data.readLong() & ((1L << 33) - 1L);
|
return id3Data.readLong() & 0x1FFFFFFFFL;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue