Add to check junk data 96/119996/1 accepted/tizen_common accepted/tizen_ivi accepted/tizen_mobile accepted/tizen_tv accepted/tizen_wearable accepted/tizen/common/20170322.153633 accepted/tizen/ivi/20170322.235545 accepted/tizen/mobile/20170322.235514 accepted/tizen/tv/20170322.235528 accepted/tizen/unified/20170322.235559 accepted/tizen/wearable/20170322.235539 submit/tizen/20170322.011031
authorJiyong Min <jiyong.min@samsung.com>
Mon, 20 Mar 2017 07:43:04 +0000 (16:43 +0900)
committerJiyong Min <jiyong.min@samsung.com>
Tue, 21 Mar 2017 05:25:43 +0000 (14:25 +0900)
commit634f561326d96b4522ba9fb2a69b4b76c4929eb4
tree668a732846dc441a0b6412a28842a3a02a781c6d
parentd28a3bc865eb4435104d1e167eccf4fe6ff85ab8
Add to check junk data

 [Problem] It is too long to read mpeg header when it was broken.
- When read tag from the file with the junk data, read whole file to find tag
because of wrong offset of box.
If the offset of box was wrong, add to check the moov data has already found at first.
After reading moov data is done, it check junk data for 1000 times.

Change-Id: I7ff67e7076870c6af43a1f3a98565c2b5cea856c
Signed-off-by: jiyong.min <jiyong.min@samsung.com>
Conflicts:
packaging/libmm-fileinfo.spec

Change-Id: I4ad0f2ff2000a8b8a784665a852a1e6f767c74d3
Signed-off-by: jiyong.min <jiyong.min@samsung.com>
configure.ac
mm_file_config.ini [new file with mode: 0644]
packaging/libmm-fileinfo.spec
utils/Makefile.am
utils/include/mm_file_utils.h
utils/mm_file_util_tag.c