#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()