[vlc-commits] WIP align pictures on 32 bits

Steve Lhomme git at videolan.org
Fri Nov 9 17:51:18 CET 2018


vlc | branch: master | Steve Lhomme <robux4 at ycbcr.xyz> | Mon Oct  8 08:26:49 2018 +0200| [892e070dcd777eed6cbab37337a9601a9f44876a] | committer: Steve Lhomme

WIP align pictures on 32 bits

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=892e070dcd777eed6cbab37337a9601a9f44876a
---

 src/misc/picture.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/misc/picture.c b/src/misc/picture.c
index b373ebd21f..799dab479e 100644
--- a/src/misc/picture.c
+++ b/src/misc/picture.c
@@ -75,7 +75,7 @@ VLC_WEAK void *picture_Allocate(int *restrict fdp, size_t size)
 {
     assert((size % 16) == 0);
     *fdp = -1;
-    return aligned_alloc(16, size);
+    return aligned_alloc(32, size);
 }
 
 VLC_WEAK void picture_Deallocate(int fd, void *base, size_t size)



More information about the vlc-commits mailing list