summaryrefslogtreecommitdiff
path: root/orkbasecxx
diff options
context:
space:
mode:
authorHenri Herscher <henri@oreka.org>2008-01-14 21:00:41 +0000
committerHenri Herscher <henri@oreka.org>2008-01-14 21:00:41 +0000
commitc4dcb4209413f38862ad995fc5491416428e94e9 (patch)
tree50699ce67475b9363710004b6c09a90842a3ec87 /orkbasecxx
parent81ff77bfac6ef4397289400c6fa6925142e59385 (diff)
Fixed crash when RTP pt was 127.
git-svn-id: https://oreka.svn.sourceforge.net/svnroot/oreka/trunk@518 09dcff7a-b715-0410-9601-b79a96267cd0
Diffstat (limited to 'orkbasecxx')
-rw-r--r--orkbasecxx/BatchProcessing.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/orkbasecxx/BatchProcessing.cpp b/orkbasecxx/BatchProcessing.cpp
index 7812207..95b8b8a 100644
--- a/orkbasecxx/BatchProcessing.cpp
+++ b/orkbasecxx/BatchProcessing.cpp
@@ -189,7 +189,7 @@ void BatchProcessing::ThreadHandler(void *args)
AudioChunkDetails details = *chunkRef->GetDetails();
decoder.reset();
- if(details.m_rtpPayloadType < -1 || details.m_rtpPayloadType > RTP_PAYLOAD_TYPE_MAX)
+ if(details.m_rtpPayloadType < -1 || details.m_rtpPayloadType >= RTP_PAYLOAD_TYPE_MAX)
{
logMsg.Format("RTP payload type out of bound:%d", details.m_rtpPayloadType);
throw(logMsg);