aboutsummaryrefslogtreecommitdiffstats
path: root/src/stream.c
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2017-01-15 17:15:47 +0100
committerMattias Andrée <maandree@kth.se>2017-01-15 17:15:47 +0100
commitd6c07e7fa021e13b5b9914cb15f13c711ecd387d (patch)
tree75fd767b2078a786c6bdb6729c45a63fd3b81979 /src/stream.c
parentblind-config: fix -j (diff)
downloadblind-d6c07e7fa021e13b5b9914cb15f13c711ecd387d.tar.gz
blind-d6c07e7fa021e13b5b9914cb15f13c711ecd387d.tar.bz2
blind-d6c07e7fa021e13b5b9914cb15f13c711ecd387d.tar.xz
Use macros to write the head
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to 'src/stream.c')
-rw-r--r--src/stream.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/stream.c b/src/stream.c
index a6e9692..2ad30ed 100644
--- a/src/stream.c
+++ b/src/stream.c
@@ -113,8 +113,7 @@ enset_pixel_size(int status, struct stream *stream)
void
fprint_stream_head(FILE *fp, struct stream *stream)
{
- fprintf(fp, "%zu %zu %zu %s\n%cuivf",
- stream->frames, stream->width, stream->height, stream->pixfmt, 0);
+ FPRINTF_HEAD(fp, stream->frames, stream->width, stream->height, stream->pixfmt);
}