Revision 893816ba libavformat/avio.h
libavformat/avio.h | ||
---|---|---|
50 | 50 |
int (*read_packet)(void *opaque, uint8_t *buf, int buf_size); |
51 | 51 |
int (*write_packet)(void *opaque, uint8_t *buf, int buf_size); |
52 | 52 |
int64_t (*seek)(void *opaque, int64_t offset, int whence); |
53 |
int64_t pos; /**< position in the file of the current buffer */ |
|
54 |
int must_flush; /**< true if the next seek should flush */ |
|
55 |
int eof_reached; /**< true if eof reached */ |
|
56 |
int write_flag; /**< true if open for writing */ |
|
53 |
int64_t pos; /**< position in the file of the current buffer */
|
|
54 |
int must_flush; /**< true if the next seek should flush */
|
|
55 |
int eof_reached; /**< true if eof reached */
|
|
56 |
int write_flag; /**< true if open for writing */
|
|
57 | 57 |
#if FF_API_OLD_AVIO |
58 | 58 |
attribute_deprecated int is_streamed; |
59 | 59 |
#endif |
... | ... | |
61 | 61 |
unsigned long checksum; |
62 | 62 |
unsigned char *checksum_ptr; |
63 | 63 |
unsigned long (*update_checksum)(unsigned long checksum, const uint8_t *buf, unsigned int size); |
64 |
int error; ///< contains the error code or 0 if no error happened
|
|
64 |
int error; /**< contains the error code or 0 if no error happened */
|
|
65 | 65 |
int (*read_pause)(void *opaque, int pause); |
66 | 66 |
int64_t (*read_seek)(void *opaque, int stream_index, |
67 | 67 |
int64_t timestamp, int flags); |
Also available in: Unified diff