Logo Search packages:      
Sourcecode: libtheora version File versions  Download package

int theora_packet_isheader ( ogg_packet *  op )

Report whether a theora packet is a header or not This function does no verification beyond checking the header flag bit so it should not be used for bitstream identification; use theora_decode_header() for that.

opAn ogg_packet containing encoded theora data.
Return values:
1The packet is a header packet
0The packet is not a header packet (and so contains frame data)

Thus function was added in the 1.0alpha4 release.

Definition at line 431 of file toplevel.c.

References theora_packet_isheader().

Referenced by theora_packet_isheader().

  return (op->packet[0] & 0x80) ? 1 : 0;

Here is the call graph for this function:

Here is the caller graph for this function:

Generated by  Doxygen 1.6.0   Back to index