Skip to content

Conversation

@dingdongsolong4
Copy link
Collaborator

This is a simple fix for an bug that came up in Discord, where scanning throws an ffprobe unmarshal error if you scan really long files on a 32-bit system. This is because duration_ts can sometimes, for really long files, be too large for a signed 32-bit integer, which is what the int type is an alias for on 32-bit systems.

I've thus just replaced the int with int64 on the DurationTs field to solve the issue. I've also made the same change on StartPts, just to be safe, since that is a value that is also measured in samples. Neither of these values are actually ever used anyway.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants