修复播放器析构时调用虚函数的bug

This commit is contained in:
xiongziliang
2018-11-19 11:49:17 +08:00
parent 84129aefdf
commit 13bbb7b057
6 changed files with 9 additions and 8 deletions

View File

@@ -55,7 +55,6 @@ RtspPlayer::RtspPlayer(void){
_pktPool.setSize(64);
}
RtspPlayer::~RtspPlayer(void) {
RtspPlayer::teardown();
DebugL<<endl;
}
void RtspPlayer::teardown(){