Archived
1
0
This repository has been archived on 2024-10-17. You can view files and clone it, but cannot push or open issues or pull requests.
winamp/Src/nsmkv/global_elements.cpp
2024-09-24 14:54:57 +02:00

29 lines
535 B
C++

#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;
}