Make all FLV memory management go through a single function - further robustifies FLV library.
This commit is contained in:
parent
54a19d60e6
commit
71b918b7aa
2 changed files with 50 additions and 65 deletions
|
@ -56,6 +56,7 @@ namespace FLV {
|
|||
bool done; ///< Body reading done?
|
||||
unsigned int sofar; ///< How many bytes are read sofar?
|
||||
void setLen();
|
||||
bool checkBufferSize();
|
||||
//loader helper functions
|
||||
bool MemReadUntil(char * buffer, unsigned int count, unsigned int & sofar, char * D, unsigned int S, unsigned int & P);
|
||||
bool FileReadUntil(char * buffer, unsigned int count, unsigned int & sofar, FILE * f);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue