diff options
author | wm4 <wm4@nowhere> | 2019-10-26 16:41:46 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2019-10-31 11:05:45 +0100 |
commit | c6b08d222fd62ac05657a77898e1d749dc3be72f (patch) | |
tree | cfaf1887a228b13190e70e928d28f3bf703e375f /stream/stream.h | |
parent | be4996e31231574ac2b044760fa2c3f4c4719256 (diff) | |
download | mpv-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.h | 1 |
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); |