Change hard coded path to get by using tzplatform API
[platform/core/multimedia/libmm-utility.git] / bmp / test / mm_util_bmp_testsuite.c
index 4fd70fb..ff31718 100755 (executable)
@@ -24,8 +24,9 @@
 #include <string.h>
 #include <sys/stat.h>
 #include <mm_util_bmp.h>
+#include <tzplatform_config.h>
 
-#define DECODE_RESULT_PATH "/opt/usr/media/decode_test."
+#define DECODE_RESULT_PATH tzplatform_mkpath(TZ_USER_CONTENT, "decode_test.")
 #define BUFFER_SIZE 128
 
 static inline void flush_stdin()