diff options
author | ByteHamster <info@bytehamster.com> | 2019-01-03 18:43:19 +0100 |
---|---|---|
committer | ByteHamster <info@bytehamster.com> | 2019-01-03 18:43:19 +0100 |
commit | b1ae1f8f2fdaa608880254a714da7db4c00f42e6 (patch) | |
tree | f031fd3d8009a481081cf163def7a4106037ef81 /core/src/main/java/de | |
parent | e360aa04efb2a1e66a65ea3d40720f190a70f2f9 (diff) | |
download | AntennaPod-b1ae1f8f2fdaa608880254a714da7db4c00f42e6.zip |
Fixed loading embedded picture
Diffstat (limited to 'core/src/main/java/de')
-rw-r--r-- | core/src/main/java/de/danoeh/antennapod/core/glide/AudioCoverFetcher.java | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/core/src/main/java/de/danoeh/antennapod/core/glide/AudioCoverFetcher.java b/core/src/main/java/de/danoeh/antennapod/core/glide/AudioCoverFetcher.java index 915c65145..479846655 100644 --- a/core/src/main/java/de/danoeh/antennapod/core/glide/AudioCoverFetcher.java +++ b/core/src/main/java/de/danoeh/antennapod/core/glide/AudioCoverFetcher.java @@ -30,6 +30,7 @@ class AudioCoverFetcher implements DataFetcher<InputStream> { byte[] picture = retriever.getEmbeddedPicture(); if (picture != null) { callback.onDataReady(new ByteArrayInputStream(picture)); + return; } } finally { retriever.release(); |