mirror of
https://github.com/alexkay/spek.git
synced 2025-04-22 03:10:29 +03:00
Temporary fix ftbfs on ARM 32 (#308)
Double free or corruption due to an undersized buffer. Thanks to Bernhard Übelacker <bernhardu@mailbox.org> for the patch
This commit is contained in:
parent
b1600d9926
commit
59f21d2e13
@ -26,7 +26,7 @@ public:
|
||||
{
|
||||
// FFmpeg uses various assembly optimizations which expect
|
||||
// input data to be aligned by up to 32 bytes (e.g. AVX)
|
||||
this->input = (float*) av_malloc(sizeof(float) * input_size);
|
||||
this->input = (float*) av_malloc(sizeof(float) * (input_size + 2));
|
||||
}
|
||||
|
||||
virtual ~FFTPlan()
|
||||
|
Loading…
x
Reference in New Issue
Block a user