Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix integer overflow for sample duration
The result is assign to a long (64-bit signed integer), but the intermediate multiplication was stored in a int (32-bit signed integer). This value is only used as a fallback when no timestamp could be retrieved, that's why it did not cause too much harm. Fixes #4536 <#4536>
- Loading branch information