Skip to content

Commit

Permalink
use the libebml macro for binary elements with a length
Browse files Browse the repository at this point in the history
  • Loading branch information
robUx4 committed Jan 13, 2024
1 parent 04451dd commit b850b80
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions matroska/KaxDefines.h
Original file line number Diff line number Diff line change
Expand Up @@ -55,9 +55,8 @@
MATROSKA_CLASS_BODY(x)

#define DECLARE_MKX_BINARY_LENGTH(x,len) \
DECLARE_xxx_BINARY(x, MATROSKA_DLL_API) \
DECLARE_xxx_BINARY_LENGTH(x, len, MATROSKA_DLL_API) \
x(const x & ElementToClone) :libebml::EbmlBinary(ElementToClone) {} \
bool ValidateSize() const override {return GetSize() == len;} \
MATROSKA_CLASS_BODY(x)

#define DECLARE_MKX_UNISTRING(x) \
Expand Down

0 comments on commit b850b80

Please sign in to comment.