From aaf5d7b89c5f60b32d08c343bf83a1807956d206 Mon Sep 17 00:00:00 2001 From: kapodamy Date: Thu, 6 Feb 2020 17:00:32 -0300 Subject: [PATCH] Update DataReader.java make rewind() method fully rewind the stream --- app/src/main/java/org/schabi/newpipe/streams/DataReader.java | 1 + 1 file changed, 1 insertion(+) diff --git a/app/src/main/java/org/schabi/newpipe/streams/DataReader.java b/app/src/main/java/org/schabi/newpipe/streams/DataReader.java index 0e62810c5..75b55cd73 100644 --- a/app/src/main/java/org/schabi/newpipe/streams/DataReader.java +++ b/app/src/main/java/org/schabi/newpipe/streams/DataReader.java @@ -137,6 +137,7 @@ public class DataReader { position = 0; readOffset = readBuffer.length; + readCount = 0; } public boolean canRewind() {