Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Fix sample time calculation for times >= 2^32. #24

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Fix sample time calculation for times >= 2^32. #24

wants to merge 1 commit into from

Commits on Sep 22, 2018

  1. Fix sample time calculation for times >= 2^32.

    In MP4Track::GetSampleTimes and MP4Track::GetSampleIdFromTime, sampleCount is a 32 bit value that is later multiplied by sampleDelta in 32 bit math. We need this multiplication to happen in 64 bit math to handle long tracks, so promote sampleCount to a 64 bit variable.
    enzo1982 authored Sep 22, 2018
    Configuration menu
    Copy the full SHA
    6a14ac8 View commit details
    Browse the repository at this point in the history