mirror of
https://gitlab.com/mbunkus/mkvtoolnix.git
synced 2024-12-24 11:54:01 +00:00
Do not use EbmlElement::ElementSize() but ::HeadSize() and ::GetSize().
This commit is contained in:
parent
9ccac1e5b7
commit
c186560202
@ -104,9 +104,10 @@ extern char typenames[FILE_TYPE_MAX + 1][20];
|
||||
extern bool no_variable_data;
|
||||
|
||||
#define fits_parent(l, p) (l->GetElementPosition() < \
|
||||
(p->GetElementPosition() + p->ElementSize()))
|
||||
(p->GetElementPosition() + p->HeadSize() + \
|
||||
p->GetSize()))
|
||||
#define in_parent(p) (in->getFilePointer() < \
|
||||
(p->GetElementPosition() + p->ElementSize()))
|
||||
(p->GetElementPosition() + p->HeadSize() + p->GetSize()))
|
||||
|
||||
// Helper functions in mkvextract.cpp
|
||||
void show_element(EbmlElement *l, int level, const char *fmt, ...);
|
||||
|
Loading…
Reference in New Issue
Block a user