evas: use aligned_alloc() directly
authorRémi Denis-Courmont <remi@remlab.net>
Mon, 19 Jun 2017 20:01:10 +0000 (23:01 +0300)
committerRémi Denis-Courmont <remi@remlab.net>
Mon, 19 Jun 2017 20:01:10 +0000 (23:01 +0300)
modules/video_output/evas.c

index 1163148..348a681 100644 (file)
@@ -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] )
         {