summaryrefslogtreecommitdiffstats
path: root/dll_init.c
diff options
context:
space:
mode:
authorarpi_esp <arpi_esp@b3059339-0415-0410-9bf9-f77b7e298cf2>2001-04-14 19:30:52 +0000
committerarpi_esp <arpi_esp@b3059339-0415-0410-9bf9-f77b7e298cf2>2001-04-14 19:30:52 +0000
commite9181566a6be9c6ca5f77e0dd17785ced916ccb5 (patch)
tree24203bf7f517da43368513636b78cea7c992dc3f /dll_init.c
parent04ac545ecd9ae4dc022ef0ef58f1e6f008b4c1bf (diff)
downloadmpv-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
Diffstat (limited to 'dll_init.c')
-rw-r--r--dll_init.c2
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;