changeset 544:ac0d0473d5e9

Actually return/set the pointer to the encoded image data when done.
author Matti Hamalainen <ccr@tnsp.org>
date Thu, 22 Nov 2012 22:26:31 +0200
parents 8fa705277207
children 57ca9352f9de
files lib64gfx.c
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/lib64gfx.c	Thu Nov 22 22:26:08 2012 +0200
+++ b/lib64gfx.c	Thu Nov 22 22:26:31 2012 +0200
@@ -674,6 +674,8 @@
 
     buf[0] = DM_GET_ADDR_LO(fmt->addr);
     buf[1] = DM_GET_ADDR_HI(fmt->addr);
+
+    *pbuf = buf;
     return DMERR_OK;
 
 error: