_AVbinPacket Struct Reference

A single packet of stream data. More...


Data Fields

size_t structure_size
 Size of this structure, in bytes.
AVbinTimestamp timestamp
 The time at which this packet is to be played.
int stream_index
 The stream this packet contains data for.
uint8_t * data
size_t size


Detailed Description

A single packet of stream data.

The structure size must be initialised before passing to avbin_read. The data will point to a block of memory allocated by AVbin -- you must not free it. The data will be valid until the next time you call avbin_read, or until the file is closed.


Field Documentation

The stream this packet contains data for.

Size of this structure, in bytes.

This must be filled in by the application before passing to AVbin.

The time at which this packet is to be played.

This can be used to synchronise audio and video data.


Generated on Fri Jan 16 14:59:02 2009 for AVbin by  doxygen 1.5.7.1