Connector_HTTP compilend - klaar voor test!
This commit is contained in:
		
							parent
							
								
									a3fd7a5a43
								
							
						
					
					
						commit
						da8567888a
					
				
					 2 changed files with 3 additions and 2 deletions
				
			
		|  | @ -17,7 +17,7 @@ | |||
| 
 | ||||
| enum {HANDLER_NONE, HANDLER_PROGRESSIVE, HANDLER_FLASH, HANDLER_APPLE, HANDLER_MICRO}; | ||||
| 
 | ||||
| #define DEFAULT_PORT 80 | ||||
| #define DEFAULT_PORT 8080 | ||||
| #include "../util/server_setup.cpp" | ||||
| #include "../util/http_parser.cpp" | ||||
| #include "../util/MP4/interface.cpp" | ||||
|  |  | |||
|  | @ -1,5 +1,6 @@ | |||
| #include "box.cpp" | ||||
| #include <string> | ||||
| #include <algorithm> | ||||
| 
 | ||||
| class Box_avcC { | ||||
|   public: | ||||
|  | @ -57,7 +58,7 @@ void Box_avcC::SetFrameCount ( uint16_t FrameCount ) { | |||
| 
 | ||||
| void Box_avcC::SetCompressorName ( std::string CompressorName ) { | ||||
|   uint8_t * Printable = new uint8_t[1]; | ||||
|   Printable[0] = std::min( (unsigned int)31, CompressorName.size() ); | ||||
|   Printable[0] = std::min( (unsigned int)31, (unsigned int)CompressorName.size() ); | ||||
|   Container->SetPayload((uint32_t)Printable[0],(uint8_t*)CompressorName.c_str(),43); | ||||
|   Container->SetPayload((uint32_t)1, Printable ,42); | ||||
| } | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Thulinma
						Thulinma