From ce50f085ff22453c27985fa962425d3f66d136fc Mon Sep 17 00:00:00 2001 From: Stefan Sayer Date: Tue, 5 Dec 2006 23:23:44 +0000 Subject: [PATCH] small cache optimisation. ssrc is not set! git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@170 8eb893ce-cfd4-0310-b710-fb5ebe64c474 --- core/AmRtpStream.cpp | 2 +- core/AmRtpStream.h | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/core/AmRtpStream.cpp b/core/AmRtpStream.cpp index 6c70ad50..1e8c0c36 100644 --- a/core/AmRtpStream.cpp +++ b/core/AmRtpStream.cpp @@ -176,7 +176,7 @@ int AmRtpStream::send( unsigned int ts, unsigned char* buffer, unsigned int size rp.marker = false; rp.sequence = sequence++; rp.timestamp = ts; - rp.ssrc = l_ssrc; + rp.ssrc = 0; //l_ssrc; rp.compile((unsigned char*)buffer,size); rp.setAddr(&r_saddr); diff --git a/core/AmRtpStream.h b/core/AmRtpStream.h index 0a01f44c..e6f06a99 100644 --- a/core/AmRtpStream.h +++ b/core/AmRtpStream.h @@ -88,6 +88,7 @@ protected: int_payload if using dynamic payloads) */ int payload; + unsigned int sequence; /** Payload of last received packet. @@ -117,8 +118,7 @@ protected: /** the recv_offset initialized ? */ bool recv_offset_i; - unsigned int sequence; - unsigned int l_ssrc; + // unsigned int l_ssrc; unsigned int r_ssrc; bool r_ssrc_i;