Dummy disp.: separate values by space

more readable + to be clear that dumping individual bytes
This commit is contained in:
Martin Pulec
2021-03-10 09:43:19 +01:00
parent adac3a7970
commit 12e04efbc1

View File

@@ -142,7 +142,7 @@ static struct video_frame *display_dummy_getf(void *state)
static void dump_buf(unsigned char *buf, size_t len) {
printf("Frame content: ");
for (size_t i = 0; i < len; ++i) {
printf("%02hhx", *buf++);
printf("%02hhx ", *buf++);
}
printf("\n");
}