mirror of
https://github.com/outbackdingo/UltraGrid.git
synced 2026-03-21 15:40:21 +00:00
Dummy disp.: separate values by space
more readable + to be clear that dumping individual bytes
This commit is contained in:
@@ -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");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user