diff options
author | arpi_esp <arpi_esp@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2001-04-14 19:30:52 +0000 |
---|---|---|
committer | arpi_esp <arpi_esp@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2001-04-14 19:30:52 +0000 |
commit | e9181566a6be9c6ca5f77e0dd17785ced916ccb5 (patch) | |
tree | 24203bf7f517da43368513636b78cea7c992dc3f | |
parent | 04ac545ecd9ae4dc022ef0ef58f1e6f008b4c1bf (diff) | |
download | mpv-e9181566a6be9c6ca5f77e0dd17785ced916ccb5.tar.bz2 mpv-e9181566a6be9c6ca5f77e0dd17785ced916ccb5.tar.xz |
using shmem_alloc instead of malloc
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@415 b3059339-0415-0410-9bf9-f77b7e298cf2
-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 a3d2d09f42..286a7f239b 100644 --- a/dll_init.c +++ b/dll_init.c @@ -240,7 +240,7 @@ int init_video_codec(){ } #endif - sh_video->our_out_buffer = malloc(sh_video->o_bih.biSizeImage); + sh_video->our_out_buffer = shmem_alloc(sh_video->o_bih.biSizeImage); if(!sh_video->our_out_buffer){ printf("not enough memory for decoded picture buffer (%d bytes)\n", sh_video->o_bih.biSizeImage); return 0; |