comparison Plugins/Input/aac/libmp4v2/mp4property.h @ 199:0a2ad94e8607 trunk

[svn] Synced with bmp-mp4. Build system is fragile, but should work now.
author chainsaw
date Wed, 16 Nov 2005 16:21:11 -0800
parents fa848bd484d8
children f2dc045d2327
comparison
equal deleted inserted replaced
198:5a338b31e393 199:0a2ad94e8607
299 return m_values[index]; 299 return m_values[index];
300 } 300 }
301 301
302 void SetValue(const char* value, u_int32_t index = 0); 302 void SetValue(const char* value, u_int32_t index = 0);
303 303
304 void AddValue(const char* value) { 304 void AddValue(char* value) {
305 u_int32_t count = GetCount(); 305 u_int32_t count = GetCount();
306 SetCount(count + 1); 306 SetCount(count + 1);
307 SetValue(value, count); 307 SetValue(value, count);
308 } 308 }
309 309
385 } 385 }
386 386
387 void SetValue(const u_int8_t* pValue, u_int32_t valueSize, 387 void SetValue(const u_int8_t* pValue, u_int32_t valueSize,
388 u_int32_t index = 0); 388 u_int32_t index = 0);
389 389
390 void AddValue(const u_int8_t* pValue, u_int32_t valueSize) { 390 void AddValue(u_int8_t* pValue, u_int32_t valueSize) {
391 u_int32_t count = GetCount(); 391 u_int32_t count = GetCount();
392 SetCount(count + 1); 392 SetCount(count + 1);
393 SetValue(pValue, valueSize, count); 393 SetValue(pValue, valueSize, count);
394 } 394 }
395 395