changeset 9018:6ed96671b2d3

10l
author henry
date Sun, 19 Jan 2003 14:48:19 +0000
parents 80787087ff33
children 555d64fc02b8
files libmpcodecs/dec_audio.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libmpcodecs/dec_audio.c	Sun Jan 19 10:42:09 2003 +0000
+++ b/libmpcodecs/dec_audio.c	Sun Jan 19 14:48:19 2003 +0000
@@ -328,7 +328,7 @@
 	int out_minsize, int out_maxsize){
   af_stream_t* afs=sh_audio->afilter;
   if(!afs){
-    malloc(sizeof(af_stream_t));
+    afs = (af_stream_t*)malloc(sizeof(af_stream_t));
     memset(afs,0,sizeof(af_stream_t));
   }