mirror of
https://github.com/Coloryr/AllMusic.git
synced 2026-11-08 18:54:44 +00:00
Update AllMusicPlayer.java
This commit is contained in:
1 parent
304e01b5f9
commit
33bcc7f49b
1 file changed
+3
-1
@@ -233,7 +233,9 @@ public class AllMusicPlayer extends InputStream {
|
||||
break;
|
||||
}
|
||||
BuffPack output = decoder.decodeFrame();
|
||||
if (output == null) break;
|
||||
if (output == null) {
|
||||
break;
|
||||
}
|
||||
ByteBuffer byteBuffer = BufferUtils.createByteBuffer(output.len)
|
||||
.put(output.buff, 0, output.len);
|
||||
((Buffer) byteBuffer).flip();
|
||||
|
||||
Reference in new issue
Block a user