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 out-of-range if first sample is not sync #65

Open
wants to merge 8 commits into
base: main
Choose a base branch
from

Conversation

bsantos
Copy link

@bsantos bsantos commented Jan 24, 2022

mp4track output of first 3 samples of offending file without fix:

operator[]: illegal array index: 2147483647 of 4: errno: 34 (../mp4v2/src/mp4array.h,130)
sampleId 1, size 27 duration 2939 time 0 00:00:00.000
sampleId 2, size 24361 duration 5041 time 2939 00:00:00.032 S
sampleId 3, size 19542 duration 2880 time 7980 00:00:00.088

mp4track output of first 3 samples of offending file with fix:

sampleId 1, size 27 duration 2939 time 0 00:00:00.000
sampleId 2, size 24361 duration 5041 time 2939 00:00:00.032 S
sampleId 3, size 19542 duration 2880 time 7980 00:00:00.088

The video in question was created by a Sony Xperia L1 model g3311.

Note: I can't provide the file because of privacy reasons (it came from a customer).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant