1 --- lib/mp4v2/atom_avc1.cpp.orig 2007-07-24 02:19:41.000000000 -0400
2 +++ lib/mp4v2/atom_avc1.cpp 2007-07-24 02:19:44.000000000 -0400
4 MP4StringProperty* pProp =
5 new MP4StringProperty("compressorName");
6 pProp->SetFixedLength(32);
7 + pProp->SetCountedFormat(true);
8 pProp->SetValue("AVC Coding");
9 AddProperty(pProp); /* 6 */
11 --- lib/mp4v2/mp4property.cpp.orig 2007-07-24 02:20:32.000000000 -0400
12 +++ lib/mp4v2/mp4property.cpp 2007-07-24 02:21:52.000000000 -0400
14 if (m_useCountedFormat) {
15 pFile->WriteCountedString(m_values[index],
16 (m_useUnicode ? 2 : 1), m_useExpandedCount);
17 + if (m_fixedLength) {
18 + pFile->WriteBytes((u_int8_t*)m_values[index],
19 + m_fixedLength - strlen(m_values[index]) - 1);
21 } else if (m_fixedLength) {
22 pFile->WriteBytes((u_int8_t*)m_values[index], m_fixedLength);