aboutsummaryrefslogtreecommitdiffstats
path: root/src/stream.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/stream.c')
-rw-r--r--src/stream.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/stream.c b/src/stream.c
index 5d67938..cf6f230 100644
--- a/src/stream.c
+++ b/src/stream.c
@@ -80,6 +80,7 @@ eninit_stream(int status, struct stream *stream)
stream->buf[3] != 'v' || stream->buf[4] != 'f')
goto bad_format;
memmove(stream->buf, stream->buf + 5, stream->ptr -= 5);
+ stream->headlen = n + 5;
enset_pixel_size(status, stream);