iheartradio / open-m3u8

Open Source m3u8 Parser
Other
248 stars 94 forks source link

IV in EXT-X-KEY is corrupted #50

Open Raniz85 opened 7 years ago

Raniz85 commented 7 years ago

Because Integer.toHexString is used negative bytes will be prefixed with ffffff and bytes between 0 and 15 will only be written as one digit, this causes the IV in the playlist to be corrupt.