libogg documentation

libogg version 1.25 - 20000615

ogg_page

declared in "ogg/ogg.h"

The ogg_page struct encapsulates the data for an Ogg page.

Ogg pages are of arbitrary length, with an approximate maximum size of 6kB. They are made up of packet segments of 255 bytes each. There can be as many as 255 packet segments per page.

For a complete description of ogg pages and headers, please refer to the framing document.

typedef struct {
  unsigned char *header;
  long header_len;
  unsigned char *body;
  long body_len;
} ogg_page;

Relevant Struct Members

header
Pointer to the page header for this page. The exact contents of this header are defined in the framing spec document.
header_len
Length in bytes of the page header.
body
Pointer to the data for this page.
body_len
Length in bytes of the body.



copyright © 2000 xiph.org

Ogg Vorbis
team@xiph.org

libogg documentation

libogg version 1.25 - 20000615