Merge pull request #226 from 7FM/dev

fix switching on null causing NPE
This commit is contained in:
Tobias Groza
2019-12-31 00:26:27 +01:00
committed by GitHub

View File

@@ -662,7 +662,7 @@ public class YoutubeStreamExtractor extends StreamExtractor {
}
}
return errorReason != null ? errorReason.toString() : null;
return errorReason != null ? errorReason.toString() : "";
}
/*//////////////////////////////////////////////////////////////////////////