libebml: no need to depend on INT_MAX
git-svn-id: https://matroska.svn.sourceforge.net/svnroot/matroska/trunk/libebml@274 a6f86f6d-0131-4f8e-9e7b-e335508773d5
This commit is contained in:
parent
4144cc5d79
commit
3fff7041d2
@ -62,7 +62,7 @@ class EBML_DLL_API EbmlBinary : public EbmlElement {
|
||||
EbmlBinary(const EbmlBinary & ElementToClone);
|
||||
virtual ~EbmlBinary(void);
|
||||
|
||||
virtual bool ValidateSize() const {return IsFiniteSize() && GetSize() < INT_MAX;} // we don't mind about what's inside
|
||||
virtual bool ValidateSize() const {return IsFiniteSize() && GetSize() < 0x7FFFFFFF;} // we don't mind about what's inside
|
||||
|
||||
filepos_t RenderData(IOCallback & output, bool bForceRender, bool bWithDefault = false);
|
||||
filepos_t ReadData(IOCallback & input, ScopeMode ReadFully = SCOPE_ALL_DATA);
|
||||
|
Loading…
x
Reference in New Issue
Block a user