Add debug msg for error case 32/166132/1 accepted/tizen/unified/20180109.172748 submit/tizen/20180108.070811
authorhj kim <backto.kim@samsung.com>
Mon, 8 Jan 2018 05:42:24 +0000 (14:42 +0900)
committerhj kim <backto.kim@samsung.com>
Mon, 8 Jan 2018 05:42:24 +0000 (14:42 +0900)
Change-Id: If7c7e0ee7994ca99b864a35fb0b67024a3b220a5

utils/mm_file_util_tag.c

index 6bfa64e..4350586 100755 (executable)
@@ -2151,6 +2151,7 @@ EXPORT_API int MMFileUtilGetMetaDataFromMP4(MMFileFormatContext *formatContext)
                long long new_pos = mmfile_tell(fp);
 
                if ((moov_end == 0) && (new_pos <= basic_header.start_offset)) {
+                       debug_error(DEBUG, "Wrong position");
                        ret = MMFILE_UTIL_FAIL;
                        continue;
                }