Initial commit

This commit is contained in:
Erik Zandvliet 2012-10-22 15:09:24 +02:00 committed by Thulinma
parent 38ef8704f8
commit 6813f00b09
5 changed files with 582 additions and 1 deletions

14
lib/nal.h Normal file
View file

@ -0,0 +1,14 @@
#include <string>
#include <cstdio>
class NAL_Unit {
public:
NAL_Unit( );
NAL_Unit( std::string & InputData );
bool ReadData( std::string & InputData );
std::string AnnexB( bool LongIntro = false );
std::string SizePrepended( );
int Type( );
private:
std::string MyData;
};//NAL_Unit class