Last active
April 27, 2016 03:43
-
-
Save bikegriffith/44e95d2fe58cab9d466bfac9d82b62d3 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| if (flags & 0xC0) { | |
| var i = 8, pts; | |
| pts = (data[++i] & 0x0E) << 27 | |
| | (data[++i] & 0xFF) << 20 | |
| | (data[++i] & 0xFE) << 12 | |
| | (data[++i] & 0xFF) << 5 | |
| | (data[++i] & 0xFE) >>> 3; | |
| pts *= 4; | |
| pts += (data[i] & 0x06) >>> 1; | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment