summaryrefslogtreecommitdiff
path: root/plugins/libmp4ff
diff options
context:
space:
mode:
authorGravatar waker <wakeroid@gmail.com>2012-08-21 21:18:59 +0200
committerGravatar waker <wakeroid@gmail.com>2012-08-21 21:18:59 +0200
commit6955b64286f7b96cf8a9f99c62607ec81bd323c9 (patch)
treeecb9faaecb354da9833e04f12762290519945ed2 /plugins/libmp4ff
parent4782c9fa4d956870914bb5128adcd53c198e2362 (diff)
added support for the "----" atom type to libmp4ff; added custom fields support to aac metadata, including replaygain
Diffstat (limited to 'plugins/libmp4ff')
-rw-r--r--plugins/libmp4ff/mp4atom.c2
-rw-r--r--plugins/libmp4ff/mp4ffint.h1
2 files changed, 3 insertions, 0 deletions
diff --git a/plugins/libmp4ff/mp4atom.c b/plugins/libmp4ff/mp4atom.c
index c735c2ae..823fa056 100644
--- a/plugins/libmp4ff/mp4atom.c
+++ b/plugins/libmp4ff/mp4atom.c
@@ -224,6 +224,8 @@ static uint8_t mp4ff_atom_name_to_type(const int8_t a, const int8_t b,
return ATOM_DESCRIPTION;
else if (mp4ff_atom_compare(a,b,c,d, 'p','c','s','t'))
return ATOM_PODCAST;
+ else if (mp4ff_atom_compare(a,b,c,d, '-','-','-','-'))
+ return ATOM_CUSTOM;
else
return ATOM_UNKNOWN;
}
diff --git a/plugins/libmp4ff/mp4ffint.h b/plugins/libmp4ff/mp4ffint.h
index f4673b03..ec0b51bb 100644
--- a/plugins/libmp4ff/mp4ffint.h
+++ b/plugins/libmp4ff/mp4ffint.h
@@ -93,6 +93,7 @@ extern "C" {
#define ATOM_SEASON 170
#define ATOM_EPISODE 171
#define ATOM_PODCAST 172
+#define ATOM_CUSTOM 173
#define ATOM_UNKNOWN 255
#define ATOM_FREE ATOM_UNKNOWN