From a91db122d86f9881cc978abbe06b0fae2a47bc62 Mon Sep 17 00:00:00 2001 From: Devoxin Date: Mon, 10 Jun 2024 14:51:17 +0100 Subject: [PATCH] Move reader.skip(child) into while loop --- .../lavaplayer/container/matroska/MatroskaStreamingFile.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/main/src/main/java/com/sedmelluq/discord/lavaplayer/container/matroska/MatroskaStreamingFile.java b/main/src/main/java/com/sedmelluq/discord/lavaplayer/container/matroska/MatroskaStreamingFile.java index 85a870e5..16cb9c1f 100644 --- a/main/src/main/java/com/sedmelluq/discord/lavaplayer/container/matroska/MatroskaStreamingFile.java +++ b/main/src/main/java/com/sedmelluq/discord/lavaplayer/container/matroska/MatroskaStreamingFile.java @@ -462,8 +462,8 @@ private void parseSimpleTag(MatroskaElement simpleTagElement) throws IOException isrc = reader.asString(child, StandardCharsets.UTF_8); } } - } - reader.skip(child); + reader.skip(child); + } } }