allocate frame from session pool so it will not go out of scope

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12811 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Anthony Minessale committed 2009-03-27 19:54:45 +00:00
1 parent cb7e045c9b
commit fc9cbb4db5
2 files changed
+22 -20

No files matched your search

+1 -1
View File
@@ -234,7 +234,7 @@ class FSMediaStream:public OpalMediaStream {
switch_channel_t *m_fsChannel;
switch_timer_t *m_switchTimer;
switch_codec_t *m_switchCodec;
switch_frame_t m_readFrame;
switch_frame_t *m_readFrame;
RTP_DataFrame m_readRTP;
bool m_callOnStart;
uint32_t m_timeStamp;