-
Notifications
You must be signed in to change notification settings - Fork 44
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Point fix: Align memory for libav sws buffer
The libav backend had a bug in software scaling. It set alignment requirements for a buffer used for software scaling to 16 bytes, which worked fine in past versions, but results in crashes nowadays with videos that do not happen to naturally align as needed. This commit sets the alignment to 64 byes, under the (unverified) assumption that ffmpeg now uses vector instructions with that alignment requirement. This change fixes the crash observed in #247 for the example file.
- Loading branch information
1 parent
b251f01
commit 2f040df
Showing
4 changed files
with
5 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters