summaryrefslogtreecommitdiff
path: root/orkaudio
diff options
context:
space:
mode:
authorHenri Herscher <henri@oreka.org>2007-01-04 17:22:29 +0000
committerHenri Herscher <henri@oreka.org>2007-01-04 17:22:29 +0000
commite857c61812a3c1029ea0de3b02611e7a984adb89 (patch)
treef4bfaae4a55344b620a4776bf00ab1be4f17028e /orkaudio
parent95bab481298a72204ad331ffce4aedb600615010 (diff)
Fixed potential crash that had been introduced with changeset 379 that could happen when an unsupported RTP stream was seen.
git-svn-id: https://oreka.svn.sourceforge.net/svnroot/oreka/trunk@385 09dcff7a-b715-0410-9601-b79a96267cd0
Diffstat (limited to 'orkaudio')
-rw-r--r--orkaudio/BatchProcessing.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/orkaudio/BatchProcessing.cpp b/orkaudio/BatchProcessing.cpp
index fe10581..6b9bf68 100644
--- a/orkaudio/BatchProcessing.cpp
+++ b/orkaudio/BatchProcessing.cpp
@@ -289,7 +289,7 @@ void BatchProcessing::ThreadHandler(void *args)
}
}
- if(voIpSession)
+ if(voIpSession && !firstChunk)
{
// Flush the RTP mixer
AudioChunkRef stopChunk(new AudioChunk());