[MPlayer-cvslog] r32849 - trunk/libmpcodecs/vf_pp.c
diego
subversion at mplayerhq.hu
Fri Feb 4 11:01:46 CET 2011
Author: diego
Date: Fri Feb 4 11:01:46 2011
New Revision: 32849
Log:
Replace one more instance of memalign in libmpcodecs with av_malloc.
av_malloc is more portable than memalign and already used in other parts.
Modified:
trunk/libmpcodecs/vf_pp.c
Modified: trunk/libmpcodecs/vf_pp.c
==============================================================================
--- trunk/libmpcodecs/vf_pp.c Thu Feb 3 15:44:46 2011 (r32848)
+++ trunk/libmpcodecs/vf_pp.c Fri Feb 4 11:01:46 2011 (r32849)
@@ -210,7 +210,7 @@ static int vf_open(vf_instance_t *vf, ch
for(i=0; i<=PP_QUALITY_MAX; i++){
PPMode *ppMode;
- ppMode= (PPMode*)memalign(8, sizeof(PPMode));
+ ppMode = av_malloc(sizeof(PPMode));
ppMode->lumMode= hex_mode;
ppMode->chromMode= ((hex_mode&0xFF)>>4) | (hex_mode&0xFFFFFF00);
More information about the MPlayer-cvslog
mailing list