changeset 414:a8b17d1f2551

using shmem_alloc instead of malloc
author arpi_esp
date Sat, 14 Apr 2001 19:30:52 +0000
parents 7785656abf11
children 5332ac41f502
files dll_init.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/dll_init.c	Sat Apr 14 19:29:28 2001 +0000
+++ b/dll_init.c	Sat Apr 14 19:30:52 2001 +0000
@@ -240,7 +240,7 @@
 }
 #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;