aboutsummaryrefslogtreecommitdiffstats
path: root/src/stream.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/stream.c')
-rw-r--r--src/stream.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/stream.c b/src/stream.c
index 6c9dc72..c21d269 100644
--- a/src/stream.c
+++ b/src/stream.c
@@ -123,6 +123,13 @@ fprint_stream_head(FILE *fp, struct stream *stream)
}
+int
+dprint_stream_head(int fd, struct stream *stream)
+{
+ return DPRINTF_HEAD(fd, stream->frames, stream->width, stream->height, stream->pixfmt);
+}
+
+
size_t
enread_stream(int status, struct stream *stream, size_t n)
{