1
0
mirror of https://github.com/TeamNewPipe/NewPipe synced 2026-04-18 12:51:23 +00:00

Merge pull request #237 from DevFactory/release/general-code-quality-fix-2

General code quality fix-2
This commit is contained in:
Christian Schabesberger
2016-03-13 22:30:24 +01:00
4 changed files with 4 additions and 5 deletions

View File

@@ -127,7 +127,7 @@ public class StreamInfo extends AbstractVideoInfo {
// also try to get streams from the dashMpd
if(streamInfo.dashMpdUrl != null && !streamInfo.dashMpdUrl.isEmpty()) {
if(streamInfo.audio_streams == null) {
streamInfo.audio_streams = new Vector<AudioStream>();
streamInfo.audio_streams = new Vector<>();
}
//todo: make this quick and dirty solution a real fallback
// same as the quick and dirty aboth