修复播放器析构时调用虚函数的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

@@ -36,7 +36,6 @@ MediaPlayer::MediaPlayer() {
}
MediaPlayer::~MediaPlayer() {
teardown();
}
void MediaPlayer::play(const char* strUrl) {
string strPrefix = FindField(strUrl, NULL, "://");