shithub: aacdec

Download patch

ref: c0ae72652fc9619e8b1e8f365ab977614179779a
parent: b3fd3e25319431d72ea55fae62b691b506bea7a9
author: menno <menno>
date: Tue Nov 18 05:57:19 EST 2003

It appears that I fixed tagging breaking files

--- a/common/mp4v2/mp4file.cpp
+++ b/common/mp4v2/mp4file.cpp
@@ -512,7 +512,7 @@
         MP4Atom* pFreeAtom = MP4Atom::CreateAtom("free");
         ASSERT(pFreeAtom);
         pFreeAtom->SetFile(this);
-        pFreeAtom->SetSize(MAX(m_orgFileSize - (m_fileSize + 8), 0));
+        pFreeAtom->SetSize((u_int64_t)MAX((int64_t)m_orgFileSize - ((int64_t)m_fileSize + 8), 0));
         pFreeAtom->Write();
         delete pFreeAtom;
     }