2010-10-20 17:06:48 +02:00
|
|
|
#ifndef EBMLBUFFERWRITER_HPP
|
|
|
|
#define EBMLBUFFERWRITER_HPP
|
|
|
|
|
2012-07-14 00:21:29 +02:00
|
|
|
typedef struct {
|
|
|
|
unsigned long long offset;
|
2010-10-20 17:06:48 +02:00
|
|
|
} EbmlLoc;
|
|
|
|
|
2012-07-14 00:21:29 +02:00
|
|
|
typedef struct {
|
|
|
|
unsigned char *buf;
|
|
|
|
unsigned int length;
|
|
|
|
unsigned int offset;
|
2010-10-20 17:06:48 +02:00
|
|
|
} EbmlGlobal;
|
|
|
|
|
|
|
|
|
|
|
|
void Ebml_StartSubElement(EbmlGlobal *glob, EbmlLoc *ebmlLoc, unsigned long class_id);
|
|
|
|
void Ebml_EndSubElement(EbmlGlobal *glob, EbmlLoc *ebmlLoc);
|
|
|
|
|
|
|
|
|
|
|
|
#endif
|