shithub: aacdec

Download patch

ref: 97334a539e561699d0c296fe51e8c50a86fd9998
parent: 0f800fc0de7b316559eedfa3aa681400eb1ce633
author: ca5e <ca5e>
date: Fri Oct 17 13:05:34 EDT 2003

Gapless mode change

--- a/frontend/main.c
+++ b/frontend/main.c
@@ -22,7 +22,7 @@
 ** Commercial non-GPL licensing of this software is possible.
 ** For more info contact Ahead Software through Mpeg4AAClicense@nero.com.
 **
-** $Id: main.c,v 1.51 2003/10/14 11:42:48 menno Exp $
+** $Id: main.c,v 1.52 2003/10/17 17:05:34 ca5e Exp $
 **/
 
 #ifdef _WIN32
@@ -833,6 +833,8 @@
 
         if (!noGapless)
         {
+            if (sampleId == 1) dur = 0;
+
             if (useAacLength || (timescale != samplerate)) {
                 sample_count = frameInfo.samples;
             } else {