shithub: aacenc

Download patch

ref: 22a3ded7fe5bd548a17297d27ff0f1d8e4faee4b
parent: 6ed74e1397bb62df56665d6fdf8d76d2fca393ac
author: knik <knik@users.sourceforge.net>
date: Wed Jul 19 14:59:56 EDT 2017

fixed samples-per-frame field

--- a/frontend/mp4atom.c
+++ b/frontend/mp4atom.c
@@ -430,7 +430,7 @@
     // Sample count (number of frames)
     size += u32out(mp4config.frame.ents);
     // Sample duration (samples per frame)
-    size += u32out(1024);
+    size += u32out(mp4config.framesamples);
 
     return size;
 }