Remove unused parameter pAuthor 56/223856/4
authorhj kim <backto.kim@samsung.com>
Tue, 4 Feb 2020 09:18:01 +0000 (18:18 +0900)
committerhj kim <backto.kim@samsung.com>
Wed, 5 Feb 2020 03:32:41 +0000 (03:32 +0000)
Change-Id: I0ce1a7838763f26576c048035322752c835f221e

formats/ffmpeg/mm_file_format_aac.c
formats/ffmpeg/mm_file_format_mp3.c
utils/include/mm_file_utils.h
utils/mm_file_util_tag.c

index 41a3e26..ab250ec 100644 (file)
@@ -245,7 +245,6 @@ int _parse_id3_tag(tMMFILE_AAC_HANDLE *pData)
        mm_file_id3tag_restore_content_info(hTag);
 
        pData->tagInfo.title = hTag->pTitle;
-       pData->tagInfo.author = hTag->pAuthor;
        pData->tagInfo.artist = hTag->pArtist;
        pData->tagInfo.album = hTag->pAlbum;
        pData->tagInfo.album_artist = hTag->pAlbum_Artist;
index d5eb6c0..4fdb3a8 100644 (file)
@@ -195,7 +195,6 @@ int mmfile_format_read_tag_mp3(MMFileFormatContext *formatContext)
 
        formatContext->title = mmfile_strdup(privateData->pTitle);
        formatContext->artist = mmfile_strdup(privateData->pArtist);
-       formatContext->author = mmfile_strdup(privateData->pAuthor);
        formatContext->copyright = mmfile_strdup(privateData->pCopyright);
        formatContext->comment = mmfile_strdup(privateData->pComment);
        formatContext->album = mmfile_strdup(privateData->pAlbum);
@@ -1230,7 +1229,6 @@ static int mmf_file_mp3_get_infomation(char *filename, AvFileContentInfo *pInfo)
        debug_msg(RELEASE, "TrackNum    : %s\n", pInfo->pTrackNum);
        debug_msg(RELEASE, "Genre       : %s\n", pInfo->pGenre);
        debug_msg(RELEASE, "**** Info #2 ****\n");
-       debug_msg(RELEASE, "Author      : %s\n", pInfo->pAuthor);
        debug_msg(RELEASE, "Copyright   : %s\n", pInfo->pCopyright);
        debug_msg(RELEASE, "Comment : %s\n", pInfo->pComment);
        debug_msg(RELEASE, "RecDate     : %s\n", pInfo->pRecDate);
index fcfccd9..a590eba 100755 (executable)
@@ -445,7 +445,6 @@ typedef struct {
 
        char                    *pTitle;                /*Title/songname/ */
        char                    *pArtist;               /*Lead performer(s)/Soloist(s), */
-       char                    *pAuthor;               /*Author */
        char                    *pCopyright;
        char                    *pComment;
        char                    *pAlbum;                /*Album/Movie/ */
@@ -497,7 +496,6 @@ inline static void mm_file_free_AvFileContentInfo(AvFileContentInfo *pInfo)
                mmfile_free(pInfo->pToc);
                mmfile_free(pInfo->pTitle);
                mmfile_free(pInfo->pArtist);
-               mmfile_free(pInfo->pAuthor);
                mmfile_free(pInfo->pCopyright);
                mmfile_free(pInfo->pComment);
                mmfile_free(pInfo->pAlbum);
index 433fd9d..6ff3c60 100644 (file)
@@ -1722,7 +1722,6 @@ static int GetTagFromMetaBox(MMFileFormatContext *formatContext, MMFileIOHandle
 
                        formatContext->title = mmfile_strdup((const char *)tagInfo.pTitle);
                        formatContext->artist = mmfile_strdup((const char *)tagInfo.pArtist);
-                       formatContext->author = mmfile_strdup((const char *)tagInfo.pAuthor);
                        formatContext->copyright = mmfile_strdup((const char *)tagInfo.pCopyright);
                        formatContext->comment = mmfile_strdup((const char *)tagInfo.pComment);
                        formatContext->album = mmfile_strdup((const char *)tagInfo.pAlbum);