[vlc-commits] evas: use aligned_alloc() directly

Rémi Denis-Courmont git at videolan.org
Mon Jun 19 22:01:52 CEST 2017


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Mon Jun 19 23:01:10 2017 +0300| [af3e624dcecd7d9e66ecbae55ca5897890cdbd70] | committer: Rémi Denis-Courmont

evas: use aligned_alloc() directly

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

 modules/video_output/evas.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/video_output/evas.c b/modules/video_output/evas.c
index 11631480c2..348a681de3 100644
--- a/modules/video_output/evas.c
+++ b/modules/video_output/evas.c
@@ -1002,7 +1002,7 @@ EvasImageBuffersAlloc( vout_display_t *vd, video_format_t *p_fmt )
     {
         struct buffer *p_buffer = &sys->p_buffers[i];
 
-        p_buffer->p[0] = vlc_memalign( 16, i_bytes );
+        p_buffer->p[0] = aligned_alloc( 16, i_bytes );
 
         if( !p_buffer->p[0] )
         {



More information about the vlc-commits mailing list