summaryrefslogtreecommitdiffstats
path: root/player/misc.c
diff options
context:
space:
mode:
Diffstat (limited to 'player/misc.c')
-rw-r--r--player/misc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/player/misc.c b/player/misc.c
index ce353b9590..633ec6917d 100644
--- a/player/misc.c
+++ b/player/misc.c
@@ -301,7 +301,7 @@ int stream_dump(struct MPContext *mpctx, const char *source_filename)
MP_MSG(mpctx, MSGL_STATUS, "Dumping %lld/%lld...",
(long long int)pos, (long long int)size);
}
- bstr data = stream_peek(stream, STREAM_MAX_BUFFER_SIZE);
+ bstr data = stream_peek(stream, 4096);
if (data.len == 0) {
ok &= stream->eof;
break;