From: Miguel F. <mig...@us...> - 2004-10-31 22:29:41
|
Update of /cvsroot/xine/xine-lib/src/xine-engine In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv4887/src/xine-engine Modified Files: input_cache.c Log Message: last fixes... Index: input_cache.c =================================================================== RCS file: /cvsroot/xine/xine-lib/src/xine-engine/input_cache.c,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- input_cache.c 30 Oct 2004 13:34:33 -0000 1.2 +++ input_cache.c 31 Oct 2004 22:29:07 -0000 1.3 @@ -195,7 +195,8 @@ buf = this->main_input_plugin->read_block(this->main_input_plugin, fifo, todo); this->read_call++; this->main_read_call++; - this->cur_pos += buf->size; + if(buf) + this->cur_pos += buf->size; } return buf; } |