Change hard coded path to get by using tzplatform API
[platform/core/multimedia/libmm-utility.git] / png / test / mm_util_png_testsuite.c
index c44310f..fd20817 100755 (executable)
 #include <string.h>
 #include <errno.h>
 #include <mm_util_png.h>
+#include <tzplatform_config.h>
+
+#define DECODE_RESULT_PATH tzplatform_mkpath(TZ_USER_CONTENT, "decode_test.")
 
-#define DECODE_RESULT_PATH "/media/decode_test."
 #define TRUE  1
 #define FALSE 0
 #define BUFFER_SIZE 128