diff options
author | wm4 <wm4@nowhere> | 2019-09-19 22:26:52 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2019-09-19 23:09:02 +0200 |
commit | 7000d91cf8378ff65594f380e6b089112f5c5c23 (patch) | |
tree | 0868023a25670805b798f827bdc787086799cb67 /demux/demux_edl.c | |
parent | d75bdf070f2c1043f7eaca83c20db195a5197cb5 (diff) | |
download | mpv-7000d91cf8378ff65594f380e6b089112f5c5c23.tar.bz2 mpv-7000d91cf8378ff65594f380e6b089112f5c5c23.tar.xz |
vf_fingerprint: use aligned_alloc instead of posix_memalign
I was assuming posix_memalign was the most portable function to use, but
MinGW does not provide it for some reason. Switch to C11 aligned_alloc()
which someone suggested was provided by MinGW (but actually isn't,
someone probably confused it with the incompatible _aligned_malloc),
and add a configure check.
Even though it turned out that MinGW doesn't provide it, the function
is slightly more elegant than posix_memalign(), so stay with it.
Diffstat (limited to 'demux/demux_edl.c')
0 files changed, 0 insertions, 0 deletions