[MPlayer-dev-eng] [PATCH] Remove all usage of memalign.
Reimar.Doeffinger at gmx.de
Sun Jun 14 20:57:19 EEST 2020
On 11 June 2020 23:49:06 CEST, "Reimar Döffinger" <Reimar.Doeffinger at gmx.de> wrote:
>On Thu, Jun 11, 2020 at 01:06:32PM +0200, Erik Auerswald wrote:
>> Grepping the sources, one instance of memalign seems to be left in
>> the file "libvo/vo_vesa.c":
>Yes, I corrected the commit message locally:
>Remove usage of memalign.
>Switch to av_malloc instead.
>Only vo_vesa remains using memalign as it requests 64-byte alignment,
>which is more than av_malloc provides.
>The fallback for memalign has been plain malloc, which meant crashes
>on e.g. Win32 where malloc is not sufficiently aligned.
Pushed with improved message, thanks.
More information about the MPlayer-dev-eng