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/Chapters.h

23 lines
457 B
C
Raw Normal View History

2024-09-24 12:54:57 +00:00
#pragma once
#include <bfc/platform/types.h>
#include <stdio.h>
// IDs
// these are slightly different from the matroska spec because we specify
// values after vint decoding and they specify before
const uint32_t mkv_segment_chapters = 0x43a770;
namespace nsmkv
{
class Chapters
{
public:
Chapters(void);
~Chapters(void);
};
// returns bytes read. 0 means EOF
uint64_t ReadChaptersInfo(FILE *f, uint64_t size, nsmkv::Chapters &chapters);
};