platform/core/multimedia/libmm-fileinfo.git
4 years ago[code cleanup] Remove duplicated buffer allocation & file read 62/224062/7
jiyong.min [Thu, 6 Feb 2020 05:27:04 +0000 (14:27 +0900)]
[code cleanup] Remove duplicated buffer allocation & file read
and remove unnecessary code

Change-Id: I57ec5316e4bd26d14d83ded18007bb5d209c33cb

4 years agoSeperate getting mp3 information into getting mp3_tag_info and mp3_stream_info 34/224034/14
jiyong.min [Wed, 5 Feb 2020 08:33:44 +0000 (17:33 +0900)]
Seperate getting mp3 information into getting mp3_tag_info and mp3_stream_info

  - When 'mmfile_format_open' function is called, it read mp3 file
    to get mp3 information. Because scanning mp3 file call the function
    2~3 times, there was a loss in performance.
    So we changed the function call from open to read and
    seperated into two sub_function.

Change-Id: Ica77bed739c89e41e3643889e29ada6eadb7fd28

4 years ago[code cleanup] Improved code readability for getting ID3Tag 33/224033/7
jiyong.min [Wed, 5 Feb 2020 07:36:17 +0000 (16:36 +0900)]
[code cleanup] Improved code readability for getting ID3Tag

Change-Id: I1be3ab6b95a7e0c75e349b6de365769ef8e3944e

4 years agoUnify duplicated ID3v2header getting code 36/223936/9
jiyong.min [Wed, 5 Feb 2020 06:13:16 +0000 (15:13 +0900)]
Unify duplicated ID3v2header getting code

Change-Id: Ib875c1e2421632dfb69f864df037a9e2f82d6258

4 years agoRemove redundant condition check code 76/223976/1
hj kim [Wed, 5 Feb 2020 08:17:07 +0000 (17:17 +0900)]
Remove redundant condition check code

Change-Id: I774056be4f064d0a6cc0f5160aba6f5cacc12fd9

4 years agoRemove useless parameter v2numOfFrames 43/223943/3
hj kim [Wed, 5 Feb 2020 06:46:02 +0000 (15:46 +0900)]
Remove useless parameter v2numOfFrames

Change-Id: I6967a9637c370a884247104b93a89ff8d2272b73

4 years agoUnify duplicated ID3tag extracting code 27/223927/4
hj kim [Wed, 5 Feb 2020 05:39:46 +0000 (14:39 +0900)]
Unify duplicated ID3tag extracting code

Change-Id: Idde219a2231733c90e70cd55c90d6b6f9325ab86

4 years agoRemove id3 version specific 'mmfile_string_convert_v224' function and unreachable... 95/223895/11
jiyong.min [Wed, 5 Feb 2020 01:00:15 +0000 (10:00 +0900)]
Remove id3 version specific 'mmfile_string_convert_v224' function and unreachable code

Change-Id: Ib528a6811d8197b51bb990e655e07a06062e4b4f

4 years agoRemove duplicated code and unused parameter pre_checked 04/223904/4
hj kim [Wed, 5 Feb 2020 02:07:02 +0000 (11:07 +0900)]
Remove duplicated code and unused parameter pre_checked

Change-Id: I6118f7dabce399f4fd731ac4bede1fef4462de50

4 years agoRemove unused parameter pAuthor 56/223856/4
hj kim [Tue, 4 Feb 2020 09:18:01 +0000 (18:18 +0900)]
Remove unused parameter pAuthor

Change-Id: I0ce1a7838763f26576c048035322752c835f221e

4 years agoRemove unreachable code 36/223436/2 accepted/tizen/unified/20200130.214707 submit/tizen/20200130.013933
jiyong.min [Thu, 30 Jan 2020 00:38:36 +0000 (09:38 +0900)]
Remove unreachable code

 - Fix svace WGID 425086

 Varaible 'pForamtCtx' can't be null because of
 'NULL == formatContext->privateFormatData' checker.

Change-Id: I6e18ffad655bb3de10a8379257e65d473226dbb3

4 years agoUpdate test code for macro refactoring 80/222980/2 submit/tizen/20200122.230050
jiyong.min [Wed, 22 Jan 2020 01:20:21 +0000 (10:20 +0900)]
Update test code for macro refactoring

Change-Id: I4bc0fd5b84d0f97fdf924722477bb505cd7bdeb5

4 years agoFix coverity issue 54/222854/2
jiyong.min [Tue, 21 Jan 2020 01:20:20 +0000 (10:20 +0900)]
Fix coverity issue

  - Argument cannot be negative

  'ftell' returns signed long and it can be negative(-1).
  Unsigned int 'file_size(size)' can get tainted value.
  So signed long for ftell has been added and check if it is below zero.

Change-Id: Ibe651c19465acc57b2e4e31b705644887c18a623

4 years agoFix coverity issue 47/222847/1 submit/tizen/20200122.012604
jiyong.min [Mon, 20 Jan 2020 23:58:07 +0000 (08:58 +0900)]
Fix coverity issue

  - Resource leak
  Variable 'err_attr_name' should be freed by caller, but it is not used and freed.
  So, remove unused(useless) 'err_attr_name'.

Change-Id: I201c216828a05a0e620799145960de925c9ce524

4 years agoFix wrong duration for mpeg-ts 02/221402/3
jiyong.min [Thu, 2 Jan 2020 05:25:20 +0000 (14:25 +0900)]
Fix wrong duration for mpeg-ts

 Generally, mpegts has wrong start time(positive large value).
 So duration do not use start time for mpeg-ts.

Change-Id: I97ddc31860bdeb489abe41f4fbc7e9b61d2572d5

4 years agoFix build error due to toolchain upgrade (gcc6->gcc9) 67/220967/3 accepted/tizen/unified/20191227.142821 submit/tizen/20191226.093041
jiyong.min [Thu, 26 Dec 2019 05:59:15 +0000 (14:59 +0900)]
Fix build error due to toolchain upgrade (gcc6->gcc9)

  error: output trucated before the last format character [-Werror=format-truncation=]

Change-Id: I9a0c7460e1afc81e46d14a4190c89a644943bf64

4 years agoRemove unused functions 53/219453/1
jiyong.min [Thu, 5 Dec 2019 05:00:50 +0000 (14:00 +0900)]
Remove unused functions

Change-Id: Ib7ccc1e9da5c9793d0b2169c502e3df82e79a947

4 years agoReplace SAFE_STRLCPY to mmfile_strdup 32/217632/7
jiyong.min [Wed, 13 Nov 2019 05:05:43 +0000 (14:05 +0900)]
Replace SAFE_STRLCPY to mmfile_strdup

Change-Id: I81a8687b35b6066a7c6454e0af8242ec357b4f20

4 years agoRemove unused variables 00/217600/5
jiyong.min [Wed, 13 Nov 2019 03:22:07 +0000 (12:22 +0900)]
Remove unused variables

 - descriptionLen
 - pDescription
 - pRating
 - bTagVer2Found
 - bGenreUTF16

Change-Id: Id0ae4c97533d7a466686eacaf35af919d157e9f1

4 years agoCode Cleanup for duplicated code of getting text encoding type 59/217359/8 accepted/tizen/unified/20191114.042534 submit/tizen/20191113.015438
jiyong.min [Thu, 7 Nov 2019 05:01:52 +0000 (14:01 +0900)]
Code Cleanup for duplicated code of getting text encoding type

 - Add new funtion to get text encoding type

Change-Id: I33d11fa4f59c52f25b20b221bfe02a8a0bb5231d

4 years agoCode Cleanup for duplicated code of getting synclyric 62/217362/4
jiyong.min [Mon, 11 Nov 2019 01:21:08 +0000 (10:21 +0900)]
Code Cleanup for duplicated code of getting synclyric

Change-Id: I20ab23c9cb0b3ad99121397cc402695f7961ee12

4 years agoCode Cleanup for 'break' and add function to count the number of streams 28/216428/3
jiyong.min [Fri, 25 Oct 2019 01:03:13 +0000 (10:03 +0900)]
Code Cleanup for 'break' and add function to count the number of streams

Change-Id: I48131561ecded342993344d7198915ed9b935a75

4 years agoChange global variable '_mm_file_format_mimetype_table' to static 98/214998/1
jiyong.min [Mon, 30 Sep 2019 22:08:21 +0000 (07:08 +0900)]
Change global variable '_mm_file_format_mimetype_table' to static

Change-Id: I66368de864551766a51133c30f4b35827a2167d2

4 years agoImprove id3tag parsing for duplicated code(skip new line) 97/214997/1
jiyong.min [Tue, 24 Sep 2019 03:21:38 +0000 (12:21 +0900)]
Improve id3tag parsing for duplicated code(skip new line)

Change-Id: I4914f579dadb63713efc8c37cce61a73db5b3c32

4 years agoFix coverity issue (memory leak) 24/214524/2 accepted/tizen_5.5_unified_mobile_hotfix tizen_5.5_mobile_hotfix accepted/tizen/5.5/unified/20191031.021511 accepted/tizen/5.5/unified/mobile/hotfix/20201027.083703 accepted/tizen/unified/20190925.033559 submit/tizen/20190924.014546 submit/tizen_5.5/20191031.000004 submit/tizen_5.5_mobile_hotfix/20201026.185103 tizen_5.5.m2_release
jiyong.min [Tue, 24 Sep 2019 00:17:56 +0000 (09:17 +0900)]
Fix coverity issue (memory leak)

Change-Id: I2494d0d8543ab3dc4fa88cd4520e0bbd20c7397a

4 years agoRemove unused header file (duplicated with mm_util.h) 23/214523/2
jiyong.min [Tue, 24 Sep 2019 00:06:37 +0000 (09:06 +0900)]
Remove unused header file (duplicated with mm_util.h)

Change-Id: I6fb8771a23f61f1ed7aaf38d6daacefab5776eb3

4 years agoBump version to 0.6.80 11/214111/2 accepted/tizen/unified/20190919.065333 submit/tizen/20190918.230109
jiyong.min [Wed, 18 Sep 2019 06:56:30 +0000 (15:56 +0900)]
Bump version to 0.6.80

 - Since this version, TC test value change is necessary.

Change-Id: Icd42fc0f7c2cef10e8e134fa21e353bb8128226c

4 years agoImprove 'mm_file_id3tag_parse_v224' function to reduce Cyclomatic Complexity 87/214087/7
jiyong.min [Wed, 18 Sep 2019 02:20:12 +0000 (11:20 +0900)]
Improve 'mm_file_id3tag_parse_v224' function to reduce Cyclomatic Complexity

 - It needs below UTC changes.
  https://review.tizen.org/gerrit/#/c/test/tct/native/api/+/214107/

Change-Id: Ie9ab72aa8d663ff759d12f2219edfa07c32c2f4c

4 years agoUpdate global variable to static 73/214073/1 accepted/tizen/unified/20190919.010649 submit/tizen/20190918.070547
jiyong.min [Wed, 18 Sep 2019 00:25:12 +0000 (09:25 +0900)]
Update global variable to static

Change-Id: Iad7002eb2932136ead5609d767620cc704d8f005

4 years agoBump version to 0.6.79 72/214072/1
jiyong.min [Wed, 18 Sep 2019 00:21:13 +0000 (09:21 +0900)]
Bump version to 0.6.79

Change-Id: I8e2d044f79fcb07933ec6637174ed6902863ce0d

4 years agoImprove PIC/APIC parsing of ID3tag to reduce CC and DC 56/213956/4
jiyong.min [Mon, 16 Sep 2019 03:54:50 +0000 (12:54 +0900)]
Improve PIC/APIC parsing of ID3tag to reduce CC and DC

Change-Id: Ibb0edee2b18f6ee03863686a39da700d43e7c852

4 years agoImprove functions to reduce Duplicate Code 76/213676/1
jiyong.min [Tue, 10 Sep 2019 05:44:28 +0000 (14:44 +0900)]
Improve functions to reduce Duplicate Code

Change-Id: Ifc5191726c11039a818ecda28aeba609c5c02042

4 years agoImprove '__mmfile_get_frame' function to reduce Cyclomatic Complexity 18/213618/2 accepted/tizen/unified/20190910.043227 submit/tizen/20190910.020543
jiyong.min [Mon, 9 Sep 2019 07:28:09 +0000 (16:28 +0900)]
Improve '__mmfile_get_frame' function to reduce Cyclomatic Complexity

Change-Id: Ia0335b309420605b39dadef3b63c114e94f2564d

4 years agoImprove '_get_contents_info' function to reduce Cyclomatic Complexity 77/213577/1
jiyong.min [Mon, 9 Sep 2019 03:31:21 +0000 (12:31 +0900)]
Improve '_get_contents_info' function to reduce Cyclomatic Complexity

Change-Id: I9b86b5432904d9475bc28a4f7e18ad42a1e42ea5

4 years ago[DF190903-00975] Add code to support mpeg audio version 2, layer 1 24/213324/1 accepted/tizen/unified/20190905.060539 submit/tizen/20190904.082658
hj kim [Wed, 4 Sep 2019 08:22:49 +0000 (17:22 +0900)]
[DF190903-00975] Add code to support mpeg audio version 2, layer 1

Change-Id: I86c355baa73bb57285764f02ed00b7de2593c537

4 years agoImprove 'MMFileFormatIsValidXXX' function to reduce DC 01/213201/1 accepted/tizen/unified/20190904.224430 submit/tizen/20190903.022206
jiyong.min [Mon, 2 Sep 2019 23:55:12 +0000 (08:55 +0900)]
Improve 'MMFileFormatIsValidXXX' function to reduce DC

Change-Id: Id9ba66477f0b8766db1b33efb8d09bbb805b3b51

4 years agoImprove '__AvConvertIMelody2MIDI' function to reduce DC 99/213199/4
jiyong.min [Mon, 2 Sep 2019 22:58:06 +0000 (07:58 +0900)]
Improve '__AvConvertIMelody2MIDI' function to reduce DC

Change-Id: Ic751574c6677a1520121f36560d7b6762d2c8928

4 years agoImprove '_mmf_MalibNextChunk' function and remove unused code 77/212877/8
jiyong.min [Tue, 27 Aug 2019 23:09:27 +0000 (08:09 +0900)]
Improve '_mmf_MalibNextChunk' function and remove unused code

 - change 'switch ~ case' to 'looping const table'
 - remove unused function
 - remove unuseful condition (null check)

Change-Id: I227f94c6da3f6563c2ff05d1815bfee004634fa7

4 years agoRemove unneccessary null check 80/212880/3
jiyong.min [Wed, 28 Aug 2019 00:23:39 +0000 (09:23 +0900)]
Remove unneccessary null check

 - 'mm_attrs_set_string/data_by_name' can set null string/data
 - artwork & thumbnail should null check due to memcpy

Change-Id: I219c365925eb03ddaffdbefa96677c7eb956aac8

4 years agoAdd new function to add bracket at genre tag 25/212825/9
jiyong.min [Tue, 27 Aug 2019 05:43:11 +0000 (14:43 +0900)]
Add new function to add bracket at genre tag

Change-Id: I2f9c9da246d573c53e2f364fb750afbf52f4e020

4 years agoReplace duplicate '__getMimeType' and 'getMimeType' to 'mmfile_util_get_mimetype' 10/212810/3
jiyong.min [Tue, 27 Aug 2019 04:07:05 +0000 (13:07 +0900)]
Replace duplicate '__getMimeType' and 'getMimeType' to 'mmfile_util_get_mimetype'

Change-Id: Ie01859409d1b6044c093c2de47f1e4449cf7b2aa

4 years agoImprove 'mmfile_format_read_tag_ffmpg' function 09/212809/4
jiyong.min [Tue, 27 Aug 2019 02:08:10 +0000 (11:08 +0900)]
Improve 'mmfile_format_read_tag_ffmpg' function

Change-Id: I2edf99b08d29631d0363e1ce3493004ad99bfa21

4 years agoUpdate debug msg 00/208300/1 accepted/tizen/unified/20190624.075133 submit/tizen/20190624.012801
hj kim [Fri, 21 Jun 2019 08:17:00 +0000 (17:17 +0900)]
Update debug msg

Change-Id: I4ca482bb7afb313de76f79a4624c563c197c679d

5 years agoUpdate pkg version 79/205979/1 submit/tizen/20190513.045956
hj kim [Mon, 13 May 2019 02:46:26 +0000 (11:46 +0900)]
Update pkg version

Change-Id: I0f336e2e2cb9c5eeab27469aa465974496e58b5f

5 years agoChange strcasecmp() to g_ascii_strcasecmp() because strcasecmp is locale sensitive. 77/205977/2
hj kim [Mon, 13 May 2019 02:43:42 +0000 (11:43 +0900)]
Change strcasecmp() to g_ascii_strcasecmp() because strcasecmp is locale sensitive.

Change-Id: Iff51728241d047f0af6f4dc2addbeecd5f573899

5 years agoMerge "Support TPOS (Part of a Set)" into tizen accepted/tizen/unified/20190307.231009 submit/tizen/20190304.011603
Jiyong Min [Mon, 4 Mar 2019 00:05:31 +0000 (00:05 +0000)]
Merge "Support TPOS (Part of a Set)" into tizen

5 years agoMerge "Just add description for the smta" into tizen
Jiyong Min [Mon, 4 Mar 2019 00:05:23 +0000 (00:05 +0000)]
Merge "Just add description for the smta" into tizen

5 years agoIncrease _RETRY_SEARCH_LIMIT to 250. some contents need search count this much 66/200666/1
hj kim [Thu, 28 Feb 2019 02:12:11 +0000 (11:12 +0900)]
Increase _RETRY_SEARCH_LIMIT to 250. some contents need search count this much

Change-Id: I6825cea3e9a0a2a895b2e13af78940889c602744

5 years agoSupport TPOS (Part of a Set) 64/200664/6
hj kim [Thu, 28 Feb 2019 01:32:12 +0000 (10:32 +0900)]
Support TPOS (Part of a Set)

The ‘Part of a set’ frame is a numeric string that describes which part of a set the audio came from.
This frame is used if the source described in the “TALB” frame is divided into several mediums,
e.g. a double CD. The value MAY be extended with a “/” character and a numeric string containing the total number of parts in the set. E.g. “1/2”.

Change-Id: Ic0613adda4b54834892e7592df34598b9d14be9b

5 years agoJust add description for the smta 65/200665/2
hj kim [Thu, 28 Feb 2019 01:38:43 +0000 (10:38 +0900)]
Just add description for the smta

Change-Id: I661cd6fe8667e3716e1269574836af63a61ac263

5 years agoSupport smta value 0x02 27/200527/2
hj kim [Tue, 26 Feb 2019 07:36:40 +0000 (16:36 +0900)]
Support smta value 0x02

Change-Id: I7dc1f10917a706e03447a97b5ef69d945064d664

5 years agoChange the size and nmemb of fread() to check the return value 13/199013/1
jiyong.min [Fri, 1 Feb 2019 00:39:25 +0000 (09:39 +0900)]
Change the size and nmemb of fread() to check the return value

Change-Id: Icff42f9f037df9b44cd5ab07420dab1037747463

5 years agoAdd to check the return of fseek() 87/198687/1 accepted/tizen/unified/20190207.120249 submit/tizen/20190131.041045
jiyong.min [Tue, 29 Jan 2019 00:37:27 +0000 (09:37 +0900)]
Add to check the return of fseek()

 - If fseek() is failed, -1 is returned and errno is set to indicate the errors.

Change-Id: I7174ca625da1026ebe07cb72fd97459d89c05d75

5 years agoAdd to check the file permission before mm_file access a file. 25/197225/4 accepted/tizen/unified/20190114.060054 submit/tizen/20190111.015801
jiyong.min [Thu, 10 Jan 2019 08:25:19 +0000 (17:25 +0900)]
Add to check the file permission before mm_file access a file.

- error case
Metadata-extractor did not return Permission denied.

Change-Id: I5ef74a95dcca60e451d9c1e55aab67694f7f208e

5 years agoCoverity issue fix 34/196034/1 accepted/tizen/unified/20181227.062028 submit/tizen/20181226.064859
hj kim [Fri, 21 Dec 2018 02:44:31 +0000 (11:44 +0900)]
Coverity issue fix

Change-Id: Id90eb786575e82376fd0535ea11fd0fadfcd5470

5 years agoFix format error in logs 81/194681/1 accepted/tizen/unified/20181210.060034 submit/tizen/20181207.051909
jiyong.min [Fri, 7 Dec 2018 03:45:39 +0000 (12:45 +0900)]
Fix format error in logs

Change-Id: I024c8d532c47c3a58aa13f4b6e5fa5c6a647d7a2

5 years agoFix build error without gtests 47/193747/1 accepted/tizen/unified/20181127.073258 submit/tizen/20181126.011146
jiyong.min [Mon, 26 Nov 2018 02:10:06 +0000 (11:10 +0900)]
Fix build error without gtests

Change-Id: I7eb22626683c57234d272302228beb831093d434

5 years agoMerge "Adding initial structure for unittest" into tizen
hj kim [Mon, 26 Nov 2018 01:13:54 +0000 (01:13 +0000)]
Merge "Adding initial structure for unittest" into tizen

5 years agoAdding initial structure for unittest 93/193493/5
jiyong.min [Wed, 21 Nov 2018 08:00:08 +0000 (17:00 +0900)]
Adding initial structure for unittest

- It has only one testcases for libmedia_utils of unittest
- It would be enabled by gtest build with '--define "gtests 1"'
- Two test contents would be copyied to '/usr/bin' directory

Change-Id: I6988de63bfd3c2cea7aa8518bf83d700d09d38cd

5 years agoApply new attribute API of libmm-common 40/192940/1
Sangchul Lee [Mon, 5 Nov 2018 07:20:30 +0000 (16:20 +0900)]
Apply new attribute API of libmm-common

- Remove dependency of mm_attrs_private.h.
- Use new API set in mm_attrs.h instead of those.

Change-Id: Icd720cc02b677b881e4266c8a4a0cd79f72ab5ce
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
5 years agoRemove dlog from Requires 72/192172/1 accepted/tizen/unified/20181107.081919 submit/tizen/20181105.235320
hj kim [Wed, 31 Oct 2018 06:45:07 +0000 (15:45 +0900)]
Remove dlog from Requires

Change-Id: Ie270508a787cc45064acfc7a3c5f1b17d658c8d2

5 years agoRemove duplicate verification code 87/184987/3 accepted/tizen/5.0/unified/20181102.014853 accepted/tizen/unified/20180730.142100 submit/tizen/20180727.055504 submit/tizen_5.0/20181101.000003
Minje Ahn [Wed, 25 Jul 2018 03:55:18 +0000 (12:55 +0900)]
Remove duplicate verification code

Use mmfile_free instead of FREE_EX
Remove duplicate null check

Change-Id: I73101a08098966b1e026d2d0c384632abc1c74d9
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
5 years ago[PLM P180706-00145]Fix character set issue for some languages used in Europe. And... 69/183869/1 submit/tizen/20180712.041051
hj kim [Thu, 12 Jul 2018 03:57:19 +0000 (12:57 +0900)]
[PLM P180706-00145]Fix character set issue for some languages used in Europe. And svace issues

Change-Id: I90bdeb4d5ba89b0f130995bfe575766a24ce37bb

6 years agoAdd fortify, stack canary option 28/175628/1 accepted/tizen/unified/20180516.065459 submit/tizen/20180511.003859 submit/tizen/20180515.044502
Minje Ahn [Wed, 11 Apr 2018 07:29:46 +0000 (16:29 +0900)]
Add fortify, stack canary option

Change-Id: I52c4da8092619c3d0d165082bb8a9be64766fab0
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
6 years agoImplement Spherical video metadata V2 extraction in MKV/WebM 01/155001/9
Mykola Alieksieiev [Fri, 29 Sep 2017 15:18:02 +0000 (18:18 +0300)]
Implement Spherical video metadata V2 extraction in MKV/WebM

- No stereo-mode support added as far as it is stored using the
  existing StereoMode element specified in the Matroska spec. and
  can be supported in the Matroska format parser

- WebM files prepared with MKVMerge tool with "-w" option turned on
  (force WebM sub-format) are not recognized by libmm-fileinfo

- Ambisonic audio is not specified in Google's RFC v2

Change-Id: I4935602afb658bfa6971be247a4ffd1e3332fe55
Signed-off-by: Mykola Alieksieiev <m.alieksieie@samsung.com>
6 years agosupport webm format 13/169613/2 accepted/tizen/unified/20180213.132804 submit/tizen/20180208.063721
yujie.cheng [Thu, 8 Feb 2018 02:47:26 +0000 (10:47 +0800)]
support webm format

Change-Id: I4154332ff696b0efc060ad58876ad4d892e1715c

6 years agoadd support ape format 58/166858/1 accepted/tizen/unified/20180131.060513 submit/tizen/20180114.234158 submit/tizen/20180130.062218
chen89.chen [Fri, 12 Jan 2018 07:40:59 +0000 (15:40 +0800)]
add support ape format

Change-Id: I529ee542ea735c8d33ee1b4eefa15135e3c8df3c

6 years agoAdd debug msg for error case 32/166132/1 accepted/tizen/unified/20180109.172748 submit/tizen/20180108.070811
hj kim [Mon, 8 Jan 2018 05:42:24 +0000 (14:42 +0900)]
Add debug msg for error case

Change-Id: If7c7e0ee7994ca99b864a35fb0b67024a3b220a5

6 years agoFix deadlock during extracting tags 18/163318/3
Vitaliy Cherepanov [Fri, 8 Dec 2017 12:03:19 +0000 (15:03 +0300)]
Fix deadlock during extracting tags

Change-Id: I16fe8b3844ace9be1edce741de533b40362ab4d6
Signed-off-by: Vitaliy Cherepanov <v.cherepanov@samsung.com>
6 years agoMPEGTS content parsing timeout set. 50/164850/1 accepted/tizen/unified/20171222.062621 submit/tizen/20171222.014458
ji.yong.seo [Thu, 23 Feb 2017 05:53:18 +0000 (14:53 +0900)]
MPEGTS content parsing timeout set.

Signed-off-by: ji.yong.seo <ji.yong.seo@samsung.com>
Change-Id: If2a7d646255ca0d35761c3d5aabd4667877d6d76
(cherry picked from commit fea2250192199c4669c0c5974fc1e73f27ffee8e)

6 years agoSupport AIFF 14/163914/1 accepted/tizen/unified/20171219.072641 submit/tizen/20171214.062642
hj kim [Thu, 14 Dec 2017 04:30:47 +0000 (13:30 +0900)]
Support AIFF

Change-Id: Idc4fd8a1caf4dc337fae1be7adf04debb24df3ee

6 years agoFix Memory leak 36/157336/2 accepted/tizen/unified/20171025.075231 submit/tizen/20171024.235653
hj kim [Tue, 24 Oct 2017 07:53:00 +0000 (16:53 +0900)]
Fix Memory leak

Change-Id: I53f4585b12708aeeb7b41452f4b79ddfdbebed81

6 years agoBug fix of tag checking 16/153416/1 accepted/tizen/unified/20170929.081702 submit/tizen/20170928.095536
Haejeong Kim [Thu, 28 Sep 2017 09:53:24 +0000 (18:53 +0900)]
Bug fix of tag checking

Change-Id: I7be4676b170f561f0e73f9548d28b7c2d1292093

6 years agoCoverity Issue Fix 20/153320/2
Haejeong Kim [Thu, 28 Sep 2017 08:47:44 +0000 (17:47 +0900)]
Coverity Issue Fix

Change-Id: I54eec93fc513692bde3df0030f2841d23fff0afe

6 years agoRemove useless configure file 34/150034/1 accepted/tizen/unified/20170918.093841 submit/tizen/20170915.084033
Haejeong Kim [Thu, 14 Sep 2017 05:17:20 +0000 (14:17 +0900)]
Remove useless configure file

Change-Id: I67d823a239c6cb89769ae52c49e404e365c2c36f

6 years agoModify the search function 57/149157/5 accepted/tizen/unified/20170913.071136 submit/tizen/20170912.034220
Minje Ahn [Tue, 12 Sep 2017 00:32:36 +0000 (09:32 +0900)]
Modify the search function

Use glib API instead of dirent API

Change-Id: I2dc135b0f53f915ad478609b6457aa3999140780
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
6 years agompg audio clip can't play , fix check mpeg audio layer 1 header 78/148278/2 accepted/tizen/unified/20170908.220538 submit/tizen/20170908.022404
chen89.chen [Thu, 7 Sep 2017 09:25:41 +0000 (17:25 +0800)]
mpg audio clip can't play , fix check mpeg audio layer 1 header

Change-Id: I34fb96eddddab03039be81d627d45b8fea7bf414

6 years agoApply tizen coding rule 41/147341/1 accepted/tizen/unified/20170906.060715 submit/tizen/20170904.081106 submit/tizen/20170905.045152
Haejeong Kim [Mon, 4 Sep 2017 05:10:24 +0000 (14:10 +0900)]
Apply tizen coding rule

Change-Id: I8fa2ede20e3dbb42a76d1e0a374f010750cd0e94

6 years agoupdate msg format for debugging and apply tizen coding rule 41/147141/4
Haejeong Kim [Fri, 1 Sep 2017 06:44:32 +0000 (15:44 +0900)]
update msg format for debugging and apply tizen coding rule

Change-Id: I08190f96959658e63844ab77ff5a4ea065c43a33

6 years agoAdd Spherical Video Metadata V2 support 42/144642/4
Mykola Alieksieiev [Thu, 17 Aug 2017 09:32:07 +0000 (12:32 +0300)]
Add Spherical Video Metadata V2 support

Change-Id: I215cce72ac37719c8fbb62da5953e498452ded1f
Signed-off-by: Mykola Alieksieiev <m.alieksieie@samsung.com>
6 years agoAdd to check NULL of pbSetup 86/145786/3 accepted/tizen/unified/20170825.043938 submit/tizen/20170824.093149
Jiyong Min [Thu, 24 Aug 2017 00:33:26 +0000 (09:33 +0900)]
Add to check NULL of pbSetup

Change-Id: I5ab01613fdc188446677cd55632dbf036715e745
Signed-off-by: Jiyong Min <jiyong.min@samsung.com>
6 years agoApply libav 12.1 53/142653/2 accepted/tizen/4.0/unified/20170829.015816 accepted/tizen/unified/20170822.113057 submit/tizen/20170822.010353 submit/tizen_4.0/20170828.100004 submit/tizen_4.0/20170828.110004
Haejeong Kim [Mon, 7 Aug 2017 02:54:02 +0000 (11:54 +0900)]
Apply libav 12.1

Change-Id: Ic93a7190a1be1d8deefd7e70cd0ba4984af34b82

6 years agoRemove deprecated ffurl related code. Use own io_context instead of it 92/141092/11 accepted/tizen/unified/20170804.133119 submit/tizen/20170804.024406
Haejeong Kim [Fri, 28 Jul 2017 06:42:40 +0000 (15:42 +0900)]
Remove deprecated ffurl related code. Use own io_context instead of it

Change-Id: I26a8c473fb9d4e9aa29aec928cf248299c4c5bfd

6 years agoSvace issue fix 36/140936/2 accepted/tizen/4.0/unified/20170816.012147 accepted/tizen/unified/20170728.003927 submit/tizen/20170727.081109 submit/tizen_4.0/20170811.094300
Haejeong Kim [Thu, 27 Jul 2017 07:24:11 +0000 (16:24 +0900)]
Svace issue fix

Change-Id: I479294aeda58771c9646c03a3d216c621b58af11

6 years agoAdd test code for getting video frame 04/140904/3
Haejeong Kim [Thu, 27 Jul 2017 06:08:52 +0000 (15:08 +0900)]
Add test code for getting video frame

Change-Id: I25ae5287f48837aca7ed27f369cc9aecc353a826

6 years agoRemove useless include 85/140885/1
Haejeong Kim [Thu, 27 Jul 2017 05:16:16 +0000 (14:16 +0900)]
Remove useless include

Change-Id: I80534df4da30b1453e49524a679f0c0eae5adcc6

6 years ago[SATIZENVUL-914] Add verify for value range 81/139181/6 accepted/tizen/unified/20170726.012943 submit/tizen/20170724.084341 submit/tizen/20170725.010916 submit/tizen/20170726.234453
Minje Ahn [Tue, 18 Jul 2017 00:59:53 +0000 (09:59 +0900)]
[SATIZENVUL-914] Add verify for value range

Change-Id: I6ffdc7c29568471347d4f58841925096a31a66e2
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
6 years agoRemove __MMFILE_FFMPEG_V085__ 76/139876/1 submit/tizen/20170721.021113
Haejeong Kim [Fri, 21 Jul 2017 02:08:53 +0000 (11:08 +0900)]
Remove __MMFILE_FFMPEG_V085__

Change-Id: Iaddf2c369576a63cbd4457008049725ba7541b45

6 years agoChange parameter type of time_stamp. double -> int64_t 67/139867/1 accepted/tizen/unified/20170721.201949 submit/tizen/20170721.015330
Haejeong Kim [Fri, 21 Jul 2017 01:48:17 +0000 (10:48 +0900)]
Change parameter type of time_stamp. double -> int64_t

Change-Id: I81de7b6465611f4ba482b75412a2b992b8c3a02b

6 years agoRemove too old __MMFILE_FFMPEG_V085__ and related code. because __MMFILE_FFMPEG_V085_... 55/139755/1
Haejeong Kim [Thu, 20 Jul 2017 09:05:56 +0000 (18:05 +0900)]
Remove too old __MMFILE_FFMPEG_V085__ and related code. because __MMFILE_FFMPEG_V085__ was created when FFMpeg upgraded to v1.0 to backup code

Change-Id: Ibc3e6e96f89b5c4e1d69ade2f7ef8a32f2b40aae

6 years agoRemove too old __MMFILE_FFMPEG_V100__ and related code. because __MMFILE_FFMPEG_V100_... 37/139737/1
Haejeong Kim [Thu, 20 Jul 2017 08:29:11 +0000 (17:29 +0900)]
Remove too old __MMFILE_FFMPEG_V100__ and related code. because __MMFILE_FFMPEG_V100__ was created when FFMpeg upgrade to v1.0

Change-Id: I34f40f317d3b246ba83573b2200435cfcf595c63

6 years agoFix Old Pixel format to New one 32/139732/1
Haejeong Kim [Thu, 20 Jul 2017 08:10:49 +0000 (17:10 +0900)]
Fix Old Pixel format to New one

Change-Id: Ic238f65e2b1775dce3e575065f404dd876bf2867

6 years ago[SATIZENVUL-949] check memory allocation 77/138877/4
Minje Ahn [Fri, 14 Jul 2017 05:52:48 +0000 (14:52 +0900)]
[SATIZENVUL-949] check memory allocation

1. Add allocation check
2. Remove code bundled with _SM_ONLY

Change-Id: Ic833adfdb30711797c3e005f9e5b842a2bda3752
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
6 years agoAdd support for Spherical Video and Ambisonics Audio Metadata 50/123150/10
Mykola Alieksieiev [Tue, 4 Apr 2017 17:14:29 +0000 (20:14 +0300)]
Add support for Spherical Video and Ambisonics Audio Metadata

* Spherical Video Metadata V1 in mp4 files
* Spatial audio metadata extraction from SA3D atom nested in mp4a atom
* Supported different ambisonics types, orders and formats

Change-Id: I0768ef0e8f6875c47d1b58b35e4cbea68dacaf52
Signed-off-by: Mykola Alieksieiev <m.alieksieie@samsung.com>
6 years agofix invalid format argument types for dlog 71/135171/1 accepted/tizen/unified/20170630.083256 submit/tizen/20170621.064821 submit/tizen/20170622.044226
Haejeong Kim [Wed, 21 Jun 2017 06:09:37 +0000 (15:09 +0900)]
fix invalid format argument types for dlog

Change-Id: Ia611bd5fccd8027d6fc3610c41562f59266543ec

6 years ago[RQ170606-00002] fix invalid format argument types for dlog 08/133408/1 accepted/tizen/unified/20170613.194012 submit/tizen/20170613.005517
Haejeong Kim [Mon, 12 Jun 2017 05:51:17 +0000 (14:51 +0900)]
[RQ170606-00002] fix invalid format argument types for dlog

Change-Id: Ib3cb1ae54e9a94de9044515cb37b751a695b9648

7 years agoModify to use vulnerable function 'sscanf' 90/126490/1 accepted/tizen/unified/20170428.033133 submit/tizen/20170427.223501 tizen_4.0.m1_release
Jiyong Min [Thu, 20 Apr 2017 01:22:24 +0000 (10:22 +0900)]
Modify to use vulnerable function 'sscanf'

Change-Id: I82d34b900905e3dc487a7b22b995c5c05b609ec1
Signed-off-by: Jiyong Min <jiyong.min@samsung.com>
(cherry picked from commit 81d593deaba59483538a1f357b676aa805807304)

7 years agoremove MMFileUtilGetMetaDataFromMP4() when extract content attributes. because MMFile... 86/122986/2 accepted/tizen/unified/20170406.054606 submit/tizen/20170405.054127
Haejeong Kim [Tue, 4 Apr 2017 06:38:30 +0000 (15:38 +0900)]
remove MMFileUtilGetMetaDataFromMP4() when extract content attributes. because MMFileUtilGetMetaDataFromMP4() is only extracting metadata(tag)

Change-Id: Iac932732e656ae2320b123a1628816b89f33c581

7 years agoJust update comment for smta and cdis which in samsung specific moov container 91/120291/1
Haejeong Kim [Wed, 22 Mar 2017 08:17:14 +0000 (17:17 +0900)]
Just update comment for smta and cdis which in samsung specific moov container

Change-Id: I3435b1613c2fdf449969241ddb637965adb18503

7 years agoAdd 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
Jiyong Min [Mon, 20 Mar 2017 07:43:04 +0000 (16:43 +0900)]
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>