From: Frantisek D. <va...@us...> - 2006-05-01 12:05:18
|
Update of /cvsroot/xine/xine-lib/src/xine-engine In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv606 Modified Files: audio_out.c Log Message: Better fix for coverity bug 267: testsuite has found cur_time is really undefined when using nbc (stdin, http, ...), so the latest debug build asserted. Index: audio_out.c =================================================================== RCS file: /cvsroot/xine/xine-lib/src/xine-engine/audio_out.c,v retrieving revision 1.201 retrieving revision 1.202 diff -u -r1.201 -r1.202 --- audio_out.c 5 Apr 2006 22:12:20 -0000 1.201 +++ audio_out.c 1 May 2006 12:05:09 -0000 1.202 @@ -1033,13 +1033,12 @@ in_buf = NULL; continue; } - } - _x_assert(cur_time >= 0); - if ((in_buf->vpts - cur_time) > 2 * 90000) - xprintf (this->xine, XINE_VERBOSITY_DEBUG, + if ((in_buf->vpts - cur_time) > 2 * 90000) + xprintf (this->xine, XINE_VERBOSITY_DEBUG, "audio_out: vpts/clock error, in_buf->vpts=%" PRId64 " cur_time=%" PRId64 "\n", in_buf->vpts, cur_time); + } lprintf ("loop:pause: I feel sleepy (%d buffers).\n", this->out_fifo->num_buffers); xine_usec_sleep (10000); |