Skip to content

Commit

Permalink
A few fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Zeugma440 committed Feb 19, 2024
1 parent 8ef4b60 commit e81cb19
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion ATL.unit-test/IO/MetaData/ID3v2.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1385,7 +1385,7 @@ public void TagIO_RW_ID3v2_AdditionalDateField()
}

[TestMethod]
public void TagIO_RW_WAV_PRIV_Existing()
public void TagIO_RW_ID3v2_PRIV_Existing()
{
new ConsoleLogger();

Expand Down
2 changes: 2 additions & 0 deletions ATL/AudioData/IO/ID3v2.cs
Original file line number Diff line number Diff line change
Expand Up @@ -833,6 +833,7 @@ private static LyricsInfo.LyricsPhrase readLyricsPhrase(BufferedBinaryReader sou
string cDesc = StreamUtils.ReadNullTerminatedString(source, frameEncoding); // Content description
Frame.ID += "." + cDesc;
dataSize -= (int)(source.Position - geoStartOffset);
frameEncoding = Utils.Latin1Encoding; // Decode encapsulated object using Latin-1
}

// General Encapsulated Object
Expand All @@ -842,6 +843,7 @@ private static LyricsInfo.LyricsPhrase readLyricsPhrase(BufferedBinaryReader sou
string owner = StreamUtils.ReadNullTerminatedString(source, frameEncoding);
Frame.ID += "." + owner;
dataSize -= (int)(source.Position - privStartOffset);
frameEncoding = Utils.Latin1Encoding; // Decode private data using Latin-1
}


Expand Down

0 comments on commit e81cb19

Please sign in to comment.