shithub: aacenc

Download patch

ref: 484990555a19c996806fa6e4a3c38dca73828848
parent: 1c7e47648e7055fecdb45410786c1d0092e31f46
author: knik <knik>
date: Fri Aug 15 07:42:08 EDT 2003

removed single silent flush frame

--- a/libfaac/frame.c
+++ b/libfaac/frame.c
@@ -16,7 +16,7 @@
  * License along with this library; if not, write to the Free Software
  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
  *
- * $Id: frame.c,v 1.43 2003/08/11 09:43:47 menno Exp $
+ * $Id: frame.c,v 1.44 2003/08/15 11:42:08 knik Exp $
  */
 
 /*
@@ -411,7 +411,7 @@
 
     /* After 4 flush frames all samples have been encoded,
        return 0 bytes written */
-    if (hEncoder->flushFrame > 4)
+    if (hEncoder->flushFrame >= 4)
         return 0;
 
     /* Determine the channel configuration */
@@ -839,6 +839,9 @@
 
 /*
 $Log: frame.c,v $
+Revision 1.44  2003/08/15 11:42:08  knik
+removed single silent flush frame
+
 Revision 1.43  2003/08/11 09:43:47  menno
 thread safety, some tables added to the encoder context