summaryrefslogtreecommitdiffstats
path: root/dll_init.c
diff options
context:
space:
mode:
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;