Skip to content

Commit

Permalink
Documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
Zeugma440 committed Apr 19, 2024
1 parent a9a5690 commit a8e4217
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ATL/AudioData/IO/MP4.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1590,12 +1590,12 @@ private static Tuple<uint, int> navigateToAtomSize(Stream source, string atomKey
do
{
if (!first) source.Seek(atomSize - atomHeaderSize, SeekOrigin.Current);
atomHeaderSize = 8; // Default 8-bit variant
atomHeaderSize = 8; // Default variant where size takes up 32-bit
source.Read(data, 0, 4);
atomSize = StreamUtils.DecodeBEUInt32(data);
source.Read(data, 0, 4);
atomHeader = Utils.Latin1Encoding.GetString(data, 0, 4);
if (1 == atomSize) // 64-bit variant
if (1 == atomSize) // 64-bit size variant
{
atomHeaderSize += 8;
source.Read(data, 0, 8);
Expand Down

0 comments on commit a8e4217

Please sign in to comment.