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.
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 |
size_t _AVbinPacket::structure_size |
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.
The stream this packet contains data for.
uint8_t* _AVbinPacket::data |
size_t _AVbinPacket::size |