|unsigned char *||data|
|The frame/packet contents. |
|The number of bytes in this frame. |
|Set by librmff if librmff has allocated the buffer and should free it in rmff_release_frame. |
|The track ID this frame belongs to. This will be overwritten in rmff_write_frame. |
|The presentation timestamp in ms. |
|Flags, e.g. bit 1 = key frame. |
A new frame can be obtained with rmff_allocate_frame or read from a file with rmff_read_next_frame. In both cases the application can either have librmff allocate a buffer for the frame contents or provide the buffer itself. In the latter case rmff_release_frame will not free the buffer either.