Added copy constructors for MP4 boxes
This commit is contained in:
		
							parent
							
								
									1018622d95
								
							
						
					
					
						commit
						a56f13bf8c
					
				
					 2 changed files with 104 additions and 7 deletions
				
			
		|  | @ -15,13 +15,19 @@ | |||
| 
 | ||||
| /// Contains all MP4 format related code.
 | ||||
| namespace MP4 { | ||||
|   std::string readBoxType(FILE * newData); | ||||
|   bool skipBox(FILE * newData); | ||||
| 
 | ||||
|    | ||||
|   class Box{ | ||||
|     public: | ||||
|       Box(char * datapointer = 0, bool manage = true); | ||||
|       Box(const Box & rs); | ||||
|       Box& operator = (const Box & rs); | ||||
|       ~Box(); | ||||
|       std::string getType(); | ||||
|       bool isType(const char* boxType); | ||||
|       bool read(FILE* newData); | ||||
|       bool read(std::string & newData); | ||||
|       uint64_t boxedSize(); | ||||
|       uint64_t payloadSize(); | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 ozzay
						ozzay