summaryrefslogtreecommitdiff
path: root/libavformat/avio.h
diff options
context:
space:
mode:
Diffstat (limited to 'libavformat/avio.h')
-rw-r--r--libavformat/avio.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/libavformat/avio.h b/libavformat/avio.h
index 138508ed1c..5a8d19f354 100644
--- a/libavformat/avio.h
+++ b/libavformat/avio.h
@@ -156,6 +156,10 @@ typedef struct {
unsigned char *checksum_ptr;
unsigned long (*update_checksum)(unsigned long checksum, const uint8_t *buf, unsigned int size);
int error; ///< contains the error code or 0 if no error happened
+ int (*read_play)(void *opaque);
+ int (*read_pause)(void *opaque);
+ int (*read_seek)(void *opaque,
+ int stream_index, int64_t timestamp, int flags);
} ByteIOContext;
int init_put_byte(ByteIOContext *s,
@@ -188,6 +192,11 @@ offset_t url_fsize(ByteIOContext *s);
int url_feof(ByteIOContext *s);
int url_ferror(ByteIOContext *s);
+int av_url_read_fplay(ByteIOContext *h);
+int av_url_read_fpause(ByteIOContext *h);
+int av_url_read_fseek(ByteIOContext *h,
+ int stream_index, int64_t timestamp, int flags);
+
#define URL_EOF (-1)
/** @note return URL_EOF (-1) if EOF */
int url_fgetc(ByteIOContext *s);