using shmem_alloc instead of malloc

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@415 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
arpi_esp 2001-04-14 19:30:52 +00:00
parent 04ac545ecd
commit e9181566a6
1 changed files with 1 additions and 1 deletions

View File

@ -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;