summaryrefslogtreecommitdiffstats
path: root/stream/stream.h
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2019-10-26 16:41:46 +0200
committerwm4 <wm4@nowhere>2019-10-31 11:05:45 +0100
commitc6b08d222fd62ac05657a77898e1d749dc3be72f (patch)
treecfaf1887a228b13190e70e928d28f3bf703e375f /stream/stream.h
parentbe4996e31231574ac2b044760fa2c3f4c4719256 (diff)
downloadmpv-c6b08d222fd62ac05657a77898e1d749dc3be72f.tar.bz2
mpv-c6b08d222fd62ac05657a77898e1d749dc3be72f.tar.xz
stream: stop accessing buffer internals in stream_read_line()
Getting this out of the way in preparation for reworking stream internals.
Diffstat (limited to 'stream/stream.h')
-rw-r--r--stream/stream.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/stream/stream.h b/stream/stream.h
index dcea82dace..71a7011fef 100644
--- a/stream/stream.h
+++ b/stream/stream.h
@@ -180,6 +180,7 @@ bool stream_seek(stream_t *s, int64_t pos);
int stream_read(stream_t *s, char *mem, int total);
int stream_read_partial(stream_t *s, char *buf, int buf_size);
struct bstr stream_peek(stream_t *s, int len);
+struct bstr stream_peek_buffer(stream_t *s);
void stream_drop_buffers(stream_t *s);
int64_t stream_get_size(stream_t *s);