|
|
|
@@ -703,6 +703,18 @@ int avio_closep(AVIOContext **s); |
|
|
|
*/ |
|
|
|
int avio_open_dyn_buf(AVIOContext **s); |
|
|
|
|
|
|
|
/** |
|
|
|
* Return the written size and a pointer to the buffer. |
|
|
|
* The AVIOContext stream is left intact. |
|
|
|
* The buffer must NOT be freed. |
|
|
|
* No padding is added to the buffer. |
|
|
|
* |
|
|
|
* @param s IO context |
|
|
|
* @param pbuffer pointer to a byte buffer |
|
|
|
* @return the length of the byte buffer |
|
|
|
*/ |
|
|
|
int avio_get_dyn_buf(AVIOContext *s, uint8_t **pbuffer); |
|
|
|
|
|
|
|
/** |
|
|
|
* Return the written size and a pointer to the buffer. The buffer |
|
|
|
* must be freed with av_free(). |
|
|
|
|