|
|
|
@@ -31,6 +31,7 @@ |
|
|
|
#include "libavutil/common.h" |
|
|
|
#include "libavutil/dict.h" |
|
|
|
#include "libavutil/log.h" |
|
|
|
#include "libavutil/bprint.h" |
|
|
|
|
|
|
|
#include "libavformat/version.h" |
|
|
|
|
|
|
|
@@ -500,4 +501,12 @@ int avio_pause(AVIOContext *h, int pause); |
|
|
|
int64_t avio_seek_time(AVIOContext *h, int stream_index, |
|
|
|
int64_t timestamp, int flags); |
|
|
|
|
|
|
|
/** |
|
|
|
* Read contents of h into print buffer, up to max_size bytes, or up to EOF. |
|
|
|
* |
|
|
|
* @return 0 for success (max_size bytes read or EOF reached), negative error |
|
|
|
* code otherwise |
|
|
|
*/ |
|
|
|
int avio_read_to_bprint(AVIOContext *h, AVBPrint *pb, size_t max_size); |
|
|
|
|
|
|
|
#endif /* AVFORMAT_AVIO_H */ |