|
|
|
@@ -219,6 +219,14 @@ AVIOContext *avio_alloc_context( |
|
|
|
int (*write_packet)(void *opaque, uint8_t *buf, int buf_size), |
|
|
|
int64_t (*seek)(void *opaque, int64_t offset, int whence)); |
|
|
|
|
|
|
|
/** |
|
|
|
* Free the supplied IO context and everything associated with it. |
|
|
|
* |
|
|
|
* @param s Double pointer to the IO context. This function will write NULL |
|
|
|
* into s. |
|
|
|
*/ |
|
|
|
void avio_context_free(AVIOContext **s); |
|
|
|
|
|
|
|
void avio_w8(AVIOContext *s, int b); |
|
|
|
void avio_write(AVIOContext *s, const unsigned char *buf, int size); |
|
|
|
void avio_wl64(AVIOContext *s, uint64_t val); |
|
|
|
|