Simplified and optimized FLV input and tag to DTSC conversion.

This commit is contained in:
Thulinma 2015-07-22 12:37:09 +02:00
parent a1a195b1e7
commit 4b9c8cee74
3 changed files with 44 additions and 12 deletions

View file

@ -56,6 +56,9 @@ namespace FLV {
JSON::Value toJSON(DTSC::Meta & metadata, AMF::Object & amf_storage, unsigned int reTrack = 0);
bool MemLoader(char * D, unsigned int S, unsigned int & P);
bool FileLoader(FILE * f);
unsigned int getTrackID();
char * getData();
unsigned int getDataLen();
protected:
int buf; ///< Maximum length of buffer space.
bool done; ///< Body reading done?