# HG changeset patch # User arpi_esp # Date 987276652 0 # Node ID a8b17d1f255121dbb2e944d948236aecc18c6024 # Parent 7785656abf1134772995c7dbf676a352fdc11bfd using shmem_alloc instead of malloc diff -r 7785656abf11 -r a8b17d1f2551 dll_init.c --- 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;