[vlc-devel] [PATCH] core: avcodec requires 32-bytes memory alignment in many cases
Steve Lhomme
robUx4 at videolabs.io
Tue Mar 31 10:59:00 CEST 2015
--
this will avoid disabling direct rendering in those cases
---
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 6aa5b05..8b4e0bf 100644
--- a/src/misc/picture.c
+++ b/src/misc/picture.c
@@ -62,7 +62,7 @@ static int AllocatePicture( picture_t *p_pic )
i_bytes += p->i_pitch * p->i_lines;
}
- uint8_t *p_data = vlc_memalign( 16, i_bytes );
+ uint8_t *p_data = vlc_memalign( 32, i_bytes );
if( i_bytes > 0 && p_data == NULL )
{
p_pic->i_planes = 0;
--
2.3.2
More information about the vlc-devel
mailing list