[UTC][mediamuxer][Non-ACR][Fix stack-buffer-overflow issue(change type of variant)]
authorGilbok Lee <gilbok.lee@samsung.com>
Wed, 8 Jun 2016 07:42:51 +0000 (16:42 +0900)
committerGilbok Lee <gilbok.lee@samsung.com>
Wed, 8 Jun 2016 07:42:51 +0000 (16:42 +0900)
Change-Id: I9a41c47077affbaf40006fd1c0bb1edccfb58637

src/utc/mediamuxer/utc-mediamuxer.c

index 225e9f4..05ab30d 100644 (file)
@@ -73,7 +73,7 @@ void utc_mediamuxer_startup(void)
        if ( true == GetValueForTCTSetting("DEVICE_SUITE_TARGET_30", pszValue, API_NAMESPACE ))
        {
                PRINT_UTC_LOG("[Line : %d][%s] 'DEVICE_SUITE_TARGET_30' Values Received = %s\\n", __LINE__, API_NAMESPACE,  pszValue);
-               
+
                if(h264_path == NULL) {
                h264_path = (char*)malloc(strlen(pszValue) + strlen(h264_file) + 6);
                    snprintf(h264_path, strlen(pszValue) + strlen(h264_file) + 6, "%s/res/%s", pszValue, h264_file );
@@ -385,9 +385,9 @@ int utc_mediamuxer_write_sample_p(void)
        unsigned int is_video_duration_readable;
        unsigned int is_video_flag_readable;
        unsigned int is_video_key_readable;
-       unsigned int pts_vid;
-       unsigned int dts_vid;
-       unsigned int duration_vid;
+       uint64_t pts_vid;
+       uint64_t dts_vid;
+       uint64_t duration_vid;
        int flg_vid,key_vid;
        int track_index_vid = 1;
        char *vid_caps;