diff --git a/xbmc/cores/dvdplayer/DVDPlayer.cpp b/xbmc/cores/dvdplayer/DVDPlayer.cpp index 903edeaee2724..8ccd553b93975 100644 --- a/xbmc/cores/dvdplayer/DVDPlayer.cpp +++ b/xbmc/cores/dvdplayer/DVDPlayer.cpp @@ -85,7 +85,6 @@ #include "utils/StringUtils.h" #include "Util.h" #include "LangInfo.h" -#include "URL.h" using namespace std; using namespace PVR; @@ -570,7 +569,7 @@ bool CDVDPlayer::OpenInputStream() CLog::Log(LOGNOTICE, "Creating InputStream"); // correct the filename if needed - CStdString filename = CURL(m_filename).GetFileName();// strip off any url options + CStdString filename(m_filename); if (filename.Find("dvd://") == 0 || filename.CompareNoCase("iso9660://video_ts/video_ts.ifo") == 0) {