From 4869df8451c372c538b7e44aed99ce2c8cd98a5e Mon Sep 17 00:00:00 2001 From: Raphael Coeffic Date: Thu, 13 Jul 2006 08:43:12 +0000 Subject: [PATCH] bug fix: re-added a check (output!=0) which had been removed by revision 51. git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@67 8eb893ce-cfd4-0310-b710-fb5ebe64c474 --- core/AmSessionScheduler.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/AmSessionScheduler.cpp b/core/AmSessionScheduler.cpp index 5cb835f9..726dac3f 100644 --- a/core/AmSessionScheduler.cpp +++ b/core/AmSessionScheduler.cpp @@ -260,7 +260,7 @@ void AmSessionSchedulerThread::processAudio(unsigned int ts) s->lockAudio(); AmAudio* output = s->getOutput(); - if(s->rtp_str.sendIntReached()){ + if(output && s->rtp_str.sendIntReached()){ int size = output->get(ts,buffer,s->rtp_str.getFrameSize()); if(size <= 0){