Fix dlog format error 74/194774/1 accepted/tizen/unified/20181210.060125 submit/tizen/20181207.080121
authorGilbok Lee <gilbok.lee@samsung.com>
Fri, 7 Dec 2018 06:53:14 +0000 (15:53 +0900)
committerGilbok Lee <gilbok.lee@samsung.com>
Fri, 7 Dec 2018 06:53:14 +0000 (15:53 +0900)
[Version] 0.10.11
[Profile] Common
[Issue Type] Fix bugs

Change-Id: I9ef26ffe8b7b7a4f7fb03135513aec2ce9c60726

packaging/libmm-transcode.spec
transcode/mm_transcode_seek.c

index 6943370..b720b7a 100644 (file)
@@ -1,6 +1,6 @@
 Name:       libmm-transcode
 Summary:    Multimedia Framework Video Transcode Library
-Version:    0.10.10
+Version:    0.10.11
 Release:    0
 Group:      System/Libraries
 License:    Apache-2.0
index 8d13f21..26975f5 100644 (file)
@@ -956,7 +956,7 @@ int _mm_transcode_set_handle_element(handle_s *handle, const char *in_Filename,
        }
 
        if (strlen(in_Filename) == 0 || strlen(in_Filename) > BUFFER_SIZE) {
-               LOGE("Invalid arguments [filename size: %d]\n", strlen(in_Filename));
+               LOGE("Invalid arguments [filename size: %zu]\n", strlen(in_Filename));
                return MM_ERROR_INVALID_ARGUMENT;
        }
 
@@ -1011,7 +1011,7 @@ int _mm_transcode_set_handle_parameter(handle_param_s *param, unsigned int resol
                }
                memset(param->outputfile, 0, BUFFER_SIZE);
                g_strlcpy(param->outputfile, out_Filename, BUFFER_SIZE);
-               LOGD("%s(%d)", param->outputfile, strlen(out_Filename));
+               LOGD("%s(%zu)", param->outputfile, strlen(out_Filename));
        } else {
                LOGE("out_Filename error");
                return MM_ERROR_INVALID_ARGUMENT;