Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Issue 214 #215

Merged
merged 2 commits into from
Mar 23, 2017
Merged

Issue 214 #215

merged 2 commits into from
Mar 23, 2017

Conversation

sylt
Copy link
Contributor

@sylt sylt commented Mar 23, 2017

This is an attempt to fix issue #214 where it was possible for StreamInfo::set_duration() to overflow, potentially causing the mediaPresentationDuration attribute in the <MPD> tag to become corrupted/wrong.

sylt added 2 commits March 23, 2017 10:47
The issue could lead to the MPD attribute mediaPresentationDuration being
wrongly generated for WebM streams with a duration longer than INT32_MAX.

The root-cause was that StreamInfo::set_duration() accepted an int instead of a
uint64_t. This seems like a pure typo, since StreamInfo already uses a uint64_t
internally for representing duration.
@kqyang kqyang merged commit d2c9a88 into shaka-project:master Mar 23, 2017
@github-actions github-actions bot added the status: archived Archived and locked; will not be updated label Jul 24, 2023
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jul 24, 2023
# for free to subscribe to this conversation on GitHub. Already have an account? #.
Labels
status: archived Archived and locked; will not be updated
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants