mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-01-13 21:28:01 +02:00
avio: document some members of AVIOContext.
This commit is contained in:
parent
e782a0c6da
commit
c1a9012d62
@ -43,10 +43,15 @@
|
|||||||
* sizeof(AVIOContext) must not be used outside libav*.
|
* sizeof(AVIOContext) must not be used outside libav*.
|
||||||
*/
|
*/
|
||||||
typedef struct {
|
typedef struct {
|
||||||
unsigned char *buffer;
|
unsigned char *buffer; /**< Start of the buffer. */
|
||||||
int buffer_size;
|
int buffer_size; /**< Maximum buffer size */
|
||||||
unsigned char *buf_ptr, *buf_end;
|
unsigned char *buf_ptr; /**< Current position in the buffer */
|
||||||
void *opaque;
|
unsigned char *buf_end; /**< End of the data, may be less than
|
||||||
|
buffer+buffer_size if the read function returned
|
||||||
|
less data than requested, e.g. for streams where
|
||||||
|
no more data has been received yet. */
|
||||||
|
void *opaque; /**< A private pointer, passed to the read/write/seek/...
|
||||||
|
functions. */
|
||||||
int (*read_packet)(void *opaque, uint8_t *buf, int buf_size);
|
int (*read_packet)(void *opaque, uint8_t *buf, int buf_size);
|
||||||
int (*write_packet)(void *opaque, uint8_t *buf, int buf_size);
|
int (*write_packet)(void *opaque, uint8_t *buf, int buf_size);
|
||||||
int64_t (*seek)(void *opaque, int64_t offset, int whence);
|
int64_t (*seek)(void *opaque, int64_t offset, int whence);
|
||||||
|
Loading…
Reference in New Issue
Block a user