shithub: aacenc

Download patch

ref: 6ed74e1397bb62df56665d6fdf8d76d2fca393ac
parent: 14e9d3dcd6e7ac242f11208fb6db7a65d59a015f
author: knik <knik@users.sourceforge.net>
date: Wed Jul 19 13:50:35 EDT 2017

added 'M4A ' as compatible brand

--- a/frontend/mp4atom.c
+++ b/frontend/mp4atom.c
@@ -105,8 +105,9 @@
 
     size += stringout("isom");
     size += u32out(0);
-    //size += stringout("isommp42");
-    size += stringout("mp41mp42");
+    size += stringout("M4A ");
+    size += stringout("mp42");
+    size += stringout("mp41");
 
     return size;
 }
@@ -519,7 +520,7 @@
     size += dataout(tagname, 4);
     size += u32out(datasize);
     size += dataout("data", 4);
-    size += u32out(1);
+    size += u32out(1); // data type text
     size += u32out(0);
     size += dataout(tagtxt, txtsize);
 
@@ -536,7 +537,7 @@
     size += dataout(tagname, 4);
     size += u32out(datasize);
     size += dataout("data", 4);
-    size += u32out(0);
+    size += u32out(0); // data type uint32
     size += u32out(0);
 
     return size;