global_elements.h 582 B

123456789101112131415
  1. #pragma once
  2. #include "mkv_reader.h"
  3. #include <bfc/platform/types.h>
  4. // IDs
  5. // these are slightly different from the matroska spec because we specify
  6. // values after vint decoding and they specify before
  7. const uint32_t mkv_void=0x6C;
  8. const uint32_t mkv_crc=0x3F;
  9. namespace nsmkv
  10. {
  11. // doesn't really do anything but fseek, but will output unknown values in debug mode
  12. uint64_t ReadGlobal(nsmkv::MKVReader *reader, uint64_t id, uint64_t size);
  13. uint64_t SkipNode(nsmkv::MKVReader *reader, uint64_t id, uint64_t size); // same thing as ReadGlobal but doesn't display unknown nodes
  14. }