From 29c992358bdc6c954cc739f1aeaa8421546c67cd Mon Sep 17 00:00:00 2001 From: XANTRONIX Development Date: Sat, 7 May 2016 20:43:41 -0500 Subject: [PATCH] Well bless my nippers, it works --- src/test.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/test.c b/src/test.c index 0b09c1f..cad6ca3 100644 --- a/src/test.c +++ b/src/test.c @@ -29,7 +29,8 @@ static uint8_t *buf_malloc(png_t *png) { static void image_copy(cammy_sram_frame *frame, uint8_t *buf) { size_t x, y; - memset(&frame->photo, '\0', sizeof(cammy_sram_photo)); + memset(&frame->thumb, '\xff', sizeof(cammy_sram_thumb)); + memset(&frame->photo, '\x00', sizeof(cammy_sram_photo)); for (y=0; y