bitmovin / libdash

MPEG-DASH Access Library - Official ISO/IEC MPEG-DASH Reference Implementation
https://bitmovin.com/
593 stars 168 forks source link

Fixing BlockStream::BlockQueuePeekBytes #39

Closed poncela closed 3 years ago

poncela commented 3 years ago

The BlockStream::BlockQueuePeekBytes function fails when the offset is bigger than first block length also, when you have to read data from two or more blocks it calculating wrongly the destination offset.

This pull request is the proposal fix for this function.

CLAassistant commented 3 years ago

CLA assistant check
All committers have signed the CLA.