diff options
author | arpi <arpi@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2001-08-23 11:54:55 +0000 |
---|---|---|
committer | arpi <arpi@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2001-08-23 11:54:55 +0000 |
commit | 3ac8704a9fa08c91f86982210430cafbc1e091d4 (patch) | |
tree | 4db653fcdbbbac96a38f3ea064dd8416c8737a52 /dll_init.c | |
parent | 79b24caa2239affc6fb967de6a456dfb0afd04d4 (diff) | |
download | mpv-3ac8704a9fa08c91f86982210430cafbc1e091d4.tar.bz2 mpv-3ac8704a9fa08c91f86982210430cafbc1e091d4.tar.xz |
shmem_alloc->memalign
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@1654 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'dll_init.c')
-rw-r--r-- | dll_init.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/dll_init.c b/dll_init.c index 7d24d24877..58d97ff4aa 100644 --- a/dll_init.c +++ b/dll_init.c @@ -281,7 +281,7 @@ int init_video_codec(sh_video_t *sh_video,int ex){ 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; |