Initial community commit

This commit is contained in:
Jef 2024-09-24 14:54:57 +02:00
parent 537bcbc862
commit fc06254474
16440 changed files with 4239995 additions and 2 deletions

View file

@ -0,0 +1,29 @@
#include "global_elements.h"
#include "read.h"
uint64_t nsmkv::ReadGlobal(nsmkv::MKVReader *reader, uint64_t id, uint64_t size)
{
switch(id)
{
case mkv_void:
#ifdef WA_VALIDATE
printf("void (empty), size:%I64u\n", size);
#endif
reader->Skip(size);
return size;
default:
#ifdef WA_VALIDATE
printf("*** UNKNOWN ID *** ID:%I64x size:%I64u\n", id, size);
#endif
reader->Skip(size);
return size;
}
}
uint64_t nsmkv::SkipNode(nsmkv::MKVReader *reader, uint64_t id, uint64_t size)
{
reader->Skip(size);
return size;
}