MP4 speed optimize

This commit is contained in:
Thulinma 2017-01-31 14:48:49 +01:00
parent 7f7b35acce
commit 29669f24c4
5 changed files with 22 additions and 24 deletions

View file

@ -17,6 +17,7 @@
namespace MP4 {
std::string readBoxType(FILE * newData);
bool skipBox(FILE * newData);
uint64_t calcBoxSize(const char * p);
class Box {
@ -81,7 +82,7 @@ namespace MP4 {
containerBox();
uint32_t getContentCount();
void setContent(Box & newContent, uint32_t no);
Box & getContent(uint32_t no);
Box & getContent(uint32_t no, bool unsafe = false);
std::string toPrettyString(uint32_t indent = 0);
};