Skip to content
This repository has been archived by the owner on Nov 8, 2018. It is now read-only.

Commit

Permalink
iTunes metadata encoder was writing ilst atoms with an invalid length
Browse files Browse the repository at this point in the history
  • Loading branch information
jherby2k committed Nov 26, 2014
1 parent b31a890 commit 17e71ee
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ public void WriteMetadata(Stream stream, MetadataDictionary metadata, SettingsDi
tempMp4.DescendToAtom("moov", "udta", "meta", "ilst");

// Remove any copied ilst atoms, then generate new ones:
tempStream.SetLength(stream.Position);
tempStream.SetLength(tempStream.Position);
byte[] ilstData = GenerateIlst(originalMp4, metadata, settings);
tempStream.Write(ilstData, 0, ilstData.Length);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,8 @@
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("1.0.3.0")]
[assembly: AssemblyFileVersion("1.0.3.0")]
[assembly: AssemblyVersion("1.0.4.0")]
[assembly: AssemblyFileVersion("1.0.4.0")]

// Mark this assembly as CLS compliant:
[assembly: CLSCompliant(true)]
Expand Down

0 comments on commit 17e71ee

Please sign in to comment.