Buggfix for buffer overflow calculation in plugins

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4923 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
anders 2002-03-03 12:53:26 +00:00
parent d779f76ac8
commit e84bd83e95
1 changed files with 1 additions and 1 deletions

View File

@ -224,7 +224,7 @@ static int get_space(){
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