[Mplayer-cvslog] CVS: main dll_init.c,1.41,1.42
Arpi of Ize
arpi at mplayer.dev.hu
Mon Apr 1 19:58:06 CEST 2002
- Previous message: [Mplayer-cvslog] CVS: main/libmpcodecs ad_a52.c,1.3,1.4 ad_dk3adpcm.c,1.2,1.3 ad_dk4adpcm.c,1.2,1.3 ad_dshow.c,1.3,1.4 ad_faad.c,1.2,1.3 ad_hwac3.c,1.2,1.3 ad_imaadpcm.c,1.2,1.3 ad_msadpcm.c,1.3,1.4 ad_roqaudio.c,1.3,1.4 dec_audio.c,1.1,1.2
- Next message: [Mplayer-cvslog] CVS: main mplayer.c,1.454,1.455
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /cvsroot/mplayer/main
In directory mplayer:/var/tmp.root/cvs-serv19574
Modified Files:
dll_init.c
Log Message:
audio input buffer allocation/free cleanup
Index: dll_init.c
===================================================================
RCS file: /cvsroot/mplayer/main/dll_init.c,v
retrieving revision 1.41
retrieving revision 1.42
diff -u -r1.41 -r1.42
--- dll_init.c 1 Apr 2002 13:25:34 -0000 1.41
+++ dll_init.c 1 Apr 2002 17:58:04 -0000 1.42
@@ -103,15 +103,12 @@
mp_msg(MSGT_WIN32,MSGL_V,"Audio ACM output buffer min. size: %ld\n",srcsize);
acmStreamSize(sh_audio->srcstream, srcsize, &srcsize, ACM_STREAMSIZEF_DESTINATION);
- sh_audio->audio_in_minsize=srcsize; // audio input min. size
- mp_msg(MSGT_WIN32,MSGL_V,"Audio ACM input buffer min. size: %ld\n",srcsize);
-
- if(srcsize<in_fmt->nBlockAlign) srcsize=in_fmt->nBlockAlign;
+// if(srcsize<in_fmt->nBlockAlign) srcsize=in_fmt->nBlockAlign;
- sh_audio->a_in_buffer_size=2*sh_audio->audio_in_minsize;
- sh_audio->a_in_buffer=malloc(sh_audio->a_in_buffer_size);
- sh_audio->a_in_buffer_len=0;
+ mp_msg(MSGT_WIN32,MSGL_V,"Audio ACM input buffer min. size: %ld\n",srcsize);
+ sh_audio->audio_in_minsize=2*srcsize; // audio input min. size
+
return 1;
}
- Previous message: [Mplayer-cvslog] CVS: main/libmpcodecs ad_a52.c,1.3,1.4 ad_dk3adpcm.c,1.2,1.3 ad_dk4adpcm.c,1.2,1.3 ad_dshow.c,1.3,1.4 ad_faad.c,1.2,1.3 ad_hwac3.c,1.2,1.3 ad_imaadpcm.c,1.2,1.3 ad_msadpcm.c,1.3,1.4 ad_roqaudio.c,1.3,1.4 dec_audio.c,1.1,1.2
- Next message: [Mplayer-cvslog] CVS: main mplayer.c,1.454,1.455
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the MPlayer-cvslog
mailing list