Permalink
Browse files

FIX: loop in URIUtils::GetParentPath for videodb/musicdb

  • Loading branch information...
1 parent 61e6f65 commit 2b779f211afc5db2bfffc558a5d72459f3a3560b @koying committed Oct 24, 2012
Showing with 2 additions and 0 deletions.
  1. +2 −0 xbmc/utils/URIUtils.cpp
@@ -282,6 +282,8 @@ bool URIUtils::GetParentPath(const CStdString& strPath, CStdString& strParent)
strParent = url.Get();
return true;
}
+ else if (strFile.size() == 0)
+ return false;
}
else if (url.GetProtocol() == "stack")
{

0 comments on commit 2b779f2

Please sign in to comment.