diff options
| author | Mattias Andrée <maandree@kth.se> | 2017-01-12 12:35:11 +0100 |
|---|---|---|
| committer | Mattias Andrée <maandree@kth.se> | 2017-01-12 12:35:11 +0100 |
| commit | 592a6b8d77977a4eba3287b4b4c80710f84d3899 (patch) | |
| tree | c84af8224bc8f2204f4df72e0067db8c6d5122cb /src/vu-concat.c | |
| parent | Fix and improve vu-from-image (diff) | |
| download | blind-592a6b8d77977a4eba3287b4b4c80710f84d3899.tar.gz blind-592a6b8d77977a4eba3287b4b4c80710f84d3899.tar.bz2 blind-592a6b8d77977a4eba3287b4b4c80710f84d3899.tar.xz | |
Fix header size limit
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to 'src/vu-concat.c')
| -rw-r--r-- | src/vu-concat.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vu-concat.c b/src/vu-concat.c index 0faf653..e354962 100644 --- a/src/vu-concat.c +++ b/src/vu-concat.c @@ -49,7 +49,7 @@ concat_to_file(int argc, char *argv[], char *output_file) struct stream stream, refstream; int first = 0; int fd = eopen(output_file, O_RDWR | O_CREAT | O_TRUNC, 0666); - char head[3 * sizeof(size_t) + 4 + sizeof(stream.pixfmt) + 6]; + char head[3 * 3 * sizeof(size_t) + sizeof(stream.pixfmt) + 10]; ssize_t headlen, size = 0; char *data; |
