summaryrefslogtreecommitdiff
path: root/apps/metadata
diff options
context:
space:
mode:
Diffstat (limited to 'apps/metadata')
-rw-r--r--apps/metadata/mp4.c2
-rw-r--r--apps/metadata/rm.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/apps/metadata/mp4.c b/apps/metadata/mp4.c
index f39d3f138e..00f0bf9d4c 100644
--- a/apps/metadata/mp4.c
+++ b/apps/metadata/mp4.c
@@ -650,7 +650,7 @@ static bool read_mp4_container(int fd, struct mp3entry* id3,
650 { 650 {
651 uint32_t frequency; 651 uint32_t frequency;
652 652
653 id3->codectype = (type == MP4_mp4a) ? AFMT_AAC : AFMT_ALAC; 653 id3->codectype = (type == MP4_mp4a) ? AFMT_MP4_AAC : AFMT_MP4_ALAC;
654 lseek(fd, 22, SEEK_CUR); 654 lseek(fd, 22, SEEK_CUR);
655 read_uint32be(fd, &frequency); 655 read_uint32be(fd, &frequency);
656 size -= 26; 656 size -= 26;
diff --git a/apps/metadata/rm.c b/apps/metadata/rm.c
index ee6b40bf94..8a2583961a 100644
--- a/apps/metadata/rm.c
+++ b/apps/metadata/rm.c
@@ -405,7 +405,7 @@ bool get_rm_metadata(int fd, struct mp3entry* id3)
405 /* Already set, do nothing */ 405 /* Already set, do nothing */
406 break; 406 break;
407 case aac: 407 case aac:
408 id3->codectype = AFMT_RAAC; 408 id3->codectype = AFMT_RM_AAC;
409 break; 409 break;
410 } 410 }
411 411