Mercurial > mplayer.hg
diff dll_init.c @ 1653:a90e0d8eba7c
shmem_alloc->memalign
author | arpi |
---|---|
date | Thu, 23 Aug 2001 11:54:55 +0000 |
parents | 09284c9c2b49 |
children | 5216f108cb4f |
line wrap: on
line diff
--- a/dll_init.c Thu Aug 23 11:54:08 2001 +0000 +++ b/dll_init.c Thu Aug 23 11:54:55 2001 +0000 @@ -281,7 +281,7 @@ return 0; } - sh_video->our_out_buffer = shmem_alloc(sh_video->o_bih.biSizeImage); + sh_video->our_out_buffer = memalign(64,sh_video->o_bih.biSizeImage); if(!sh_video->our_out_buffer){ mp_msg(MSGT_WIN32,MSGL_ERR,"not enough memory for decoded picture buffer (%ld bytes)\n", sh_video->o_bih.biSizeImage); return 0;