Permalink
Browse files

URIUtils::IsRemote: fix endless loop with stacked special path

  • Loading branch information...
1 parent 69e5139 commit b5a78794bc748c88802049f0c6db6bd7391a2b08 @Karlson2k Karlson2k committed Feb 28, 2014
Showing with 3 additions and 3 deletions.
  1. +3 −3 xbmc/utils/URIUtils.cpp
View
@@ -480,12 +480,12 @@ bool URIUtils::IsRemote(const CStdString& strFile)
if (IsCDDA(strFile) || IsISO9660(strFile))
return false;
+ if (IsStack(strFile))
+ return IsRemote(CStackDirectory::GetFirstStackedFile(strFile));
+
if (IsSpecial(strFile))
return IsRemote(CSpecialProtocol::TranslatePath(strFile));
- if(IsStack(strFile))
- return IsRemote(CStackDirectory::GetFirstStackedFile(strFile));
-
if(IsMultiPath(strFile))
{ // virtual paths need to be checked separately
vector<CStdString> paths;

0 comments on commit b5a7879

Please sign in to comment.