[Mplayer-cvslog] CVS: main/libao2 ao_plugin.c,1.13,1.14
Anders Johansson
anders at mplayer.dev.hu
Sun Mar 3 13:53:39 CET 2002
Update of /cvsroot/mplayer/main/libao2
In directory mplayer:/var/tmp.root/cvs-serv32069/libao2
Modified Files:
ao_plugin.c
Log Message:
Buggfix for buffer overflow calculation in plugins
Index: ao_plugin.c
===================================================================
RCS file: /cvsroot/mplayer/main/libao2/ao_plugin.c,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -r1.13 -r1.14
--- ao_plugin.c 28 Feb 2002 21:17:12 -0000 1.13
+++ ao_plugin.c 3 Mar 2002 12:53:26 -0000 1.14
@@ -224,7 +224,7 @@
static int play(void* data,int len,int flags){
int l,i=0;
// Limit length to avoid over flow in plugins
- int tmp = driver()->get_space();
+ int tmp = get_space();
int ret_len =(tmp<len)?tmp:len;
if(ret_len){
// Filter data
More information about the MPlayer-cvslog
mailing list