mistserver/lib/theora.h
Oswald de Bruin 8cae5f1fc6 Merge branch 'oggLib' of github.com:DDVTECH/libmist into oggLib
Conflicts:
	lib/Makefile.am
	lib/ogg.cpp

Ogg completed further
2013-06-25 16:11:05 +02:00

19 lines
418 B
C++

#include<sys/types.h>
#include<stdint.h>
namespace theora{
class header{
public:
header();
bool read(char* newData, unsigned int length);
int getHeaderType();
long unsigned int getFRN();
long unsigned int getFRD();
protected:
uint32_t getInt32(size_t index);
private:
char* data;
unsigned int datasize;
bool checkDataSize(unsigned int size);
};
}