Skip to content
Snippets Groups Projects
Commit db5fba13 authored by Geoffrey Métais's avatar Geoffrey Métais
Browse files

Prevent NPE in subs downloader

parent 695f7b1f
No related branches found
No related tags found
No related merge requests found
......@@ -355,6 +355,8 @@ public class SubtitlesDownloader {
for (MediaWrapper media : mediaList) {
if (stop)
break;
if (media == null)
continue;
String hash = null, tag = null;
long fileLength = 0;
final Uri mediaUri = media.getUri();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment