diff options
Diffstat (limited to 'apps/plugins/mpegplayer/alloc.c')
-rw-r--r-- | apps/plugins/mpegplayer/alloc.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/apps/plugins/mpegplayer/alloc.c b/apps/plugins/mpegplayer/alloc.c index ae482de112..c79894447b 100644 --- a/apps/plugins/mpegplayer/alloc.c +++ b/apps/plugins/mpegplayer/alloc.c | |||
@@ -54,8 +54,6 @@ static void * mpeg_malloc_internal (unsigned char *mallocbuf, | |||
54 | x = &mallocbuf[*mem_ptr]; | 54 | x = &mallocbuf[*mem_ptr]; |
55 | *mem_ptr += (size + 3) & ~3; /* Keep memory 32-bit aligned */ | 55 | *mem_ptr += (size + 3) & ~3; /* Keep memory 32-bit aligned */ |
56 | 56 | ||
57 | rb->memset(x,0,size); | ||
58 | |||
59 | return x; | 57 | return x; |
60 | (void)reason; | 58 | (void)reason; |
61 | } | 59 | } |
@@ -75,7 +73,6 @@ size_t mpeg_alloc_init(unsigned char *buf, size_t mallocsize, | |||
75 | mallocbuf = (char *)(((intptr_t)buf + 15) & ~15); | 73 | mallocbuf = (char *)(((intptr_t)buf + 15) & ~15); |
76 | /* Adjust for real size */ | 74 | /* Adjust for real size */ |
77 | bufsize -= mallocbuf - buf; | 75 | bufsize -= mallocbuf - buf; |
78 | rb->memset(buf,0,bufsize); | ||
79 | 76 | ||
80 | /* Separate allocator for video */ | 77 | /* Separate allocator for video */ |
81 | libmpeg2size = (libmpeg2size + 15) & ~15; | 78 | libmpeg2size = (libmpeg2size + 15) & ~15; |