[Mplayer-cvslog] CVS: main dll_init.c,1.6,1.7
GEREOFFY
arpi_esp at users.sourceforge.net
Sat Apr 14 21:30:54 CEST 2001
Update of /cvsroot/mplayer/main
In directory usw-pr-cvs1:/tmp/cvs-serv21799
Modified Files:
dll_init.c
Log Message:
using shmem_alloc instead of malloc
Index: dll_init.c
===================================================================
RCS file: /cvsroot/mplayer/main/dll_init.c,v
retrieving revision 1.6
retrieving revision 1.7
diff -C2 -r1.6 -r1.7
*** dll_init.c 2001/04/14 17:53:11 1.6
--- dll_init.c 2001/04/14 19:30:52 1.7
***************
*** 241,245 ****
#endif
! sh_video->our_out_buffer = malloc(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);
--- 241,245 ----
#endif
! 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);
_______________________________________________
Mplayer-cvslog mailing list
Mplayer-cvslog at lists.sourceforge.net
http://lists.sourceforge.net/lists/listinfo/mplayer-cvslog
More information about the MPlayer-cvslog
mailing list