diff Plugins/Input/aac/libmp4v2/atom_free.cpp @ 201:f2dc045d2327 trunk

[svn] libmp4v2 goes back to the future
author chainsaw
date Thu, 17 Nov 2005 14:01:18 -0800
parents 0a2ad94e8607
children
line wrap: on
line diff
--- a/Plugins/Input/aac/libmp4v2/atom_free.cpp	Thu Nov 17 12:21:04 2005 -0800
+++ b/Plugins/Input/aac/libmp4v2/atom_free.cpp	Thu Nov 17 14:01:18 2005 -0800
@@ -37,7 +37,13 @@
 
 	bool use64 = (GetSize() > (0xFFFFFFFF - 8)); 
 	BeginWrite(use64);
+#if 1
+	for (uint64_t ix = 0; ix < GetSize(); ix++) {
+	  m_pFile->WriteUInt8(0);
+	}
+#else
 	m_pFile->SetPosition(m_pFile->GetPosition() + GetSize());
+#endif
 	FinishWrite(use64);
 }