Mercurial > audlegacy
comparison 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 |
comparison
equal
deleted
inserted
replaced
200:094ef8a0a9fd | 201:f2dc045d2327 |
---|---|
35 { | 35 { |
36 ASSERT(m_pFile); | 36 ASSERT(m_pFile); |
37 | 37 |
38 bool use64 = (GetSize() > (0xFFFFFFFF - 8)); | 38 bool use64 = (GetSize() > (0xFFFFFFFF - 8)); |
39 BeginWrite(use64); | 39 BeginWrite(use64); |
40 #if 1 | |
41 for (uint64_t ix = 0; ix < GetSize(); ix++) { | |
42 m_pFile->WriteUInt8(0); | |
43 } | |
44 #else | |
40 m_pFile->SetPosition(m_pFile->GetPosition() + GetSize()); | 45 m_pFile->SetPosition(m_pFile->GetPosition() + GetSize()); |
46 #endif | |
41 FinishWrite(use64); | 47 FinishWrite(use64); |
42 } | 48 } |
43 | 49 |