mediaextract/ogg.h

13 lines
299 B
C
Raw Normal View History

2012-12-27 16:02:19 +00:00
#ifndef AUDIOEXTRACT_OGG_H__
#define AUDIOEXTRACT_OGG_H__
#include "audioextract.h"
2012-12-28 19:01:40 +00:00
#define OGG_MAGIC MAGIC("OggS")
2012-12-27 16:02:19 +00:00
#define OGG_HEADER_SIZE 27
#define ogg_isinitial(data) ((data)[5] & 2)
2012-12-31 16:46:07 +00:00
int ogg_ispage(const uint8_t *data, size_t input_len, size_t *lengthptr);
2012-12-27 16:02:19 +00:00
2012-12-31 20:02:57 +00:00
#endif /* AUDIOEXTRACT_OGG_H__ */