summaryrefslogtreecommitdiffstats
path: root/stream/stream.h
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2020-07-09 12:29:22 +0200
committerwm4 <wm4@nowhere>2020-07-09 12:29:22 +0200
commit06033df715b433d41b1a0855cf7805ff8f66d664 (patch)
tree6ecca1a978736238cc05db57643aea1d95cce1dd /stream/stream.h
parentadbd28b1dbe256dda82a6154b0ba2cf118c742d5 (diff)
downloadmpv-06033df715b433d41b1a0855cf7805ff8f66d664.tar.bz2
mpv-06033df715b433d41b1a0855cf7805ff8f66d664.tar.xz
demux_lavf: workaround reading gif from unseekable streams
FFmpeg, being the pile of trash as usual, recently broke this. Add our own trash hack to trashily workaround this shit. Fixes: #7893
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 c127860ceb..2116fdde27 100644
--- a/stream/stream.h
+++ b/stream/stream.h
@@ -212,6 +212,7 @@ bool stream_seek_skip(stream_t *s, int64_t pos);
bool stream_seek(stream_t *s, int64_t pos);
int stream_read(stream_t *s, void *mem, int total);
int stream_read_partial(stream_t *s, void *buf, int buf_size);
+int stream_peek(stream_t *s, int forward_size);
int stream_read_peek(stream_t *s, void *buf, int buf_size);
void stream_drop_buffers(stream_t *s);
int64_t stream_get_size(stream_t *s);