changeset 689:9e85901ac6c0 trunk

[svn] - some additional cleanups
author nenolod
date Tue, 20 Feb 2007 06:23:44 -0800
parents 43c77973e494
children 0305b3165a01
files ChangeLog src/aac/src/libmp4.c
diffstat 2 files changed, 10 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Tue Feb 20 06:17:27 2007 -0800
+++ b/ChangeLog	Tue Feb 20 06:23:44 2007 -0800
@@ -1,3 +1,12 @@
+2007-02-20 14:17:27 +0000  William Pitcock <nenolod@sacredspiral.co.uk>
+  revision [1462]
+  - some ringbuffering fixes -- aac+ shouldn't crash now, but more 
+    extensive testing will be needed.
+  
+  trunk/src/aac/src/libmp4.c |   12 ++++++++++--
+  1 file changed, 10 insertions(+), 2 deletions(-)
+
+
 2007-02-20 14:11:10 +0000  Jonathan Schleifer <js@h3c.de>
   revision [1460]
   Revert r1456, this gives problems with some files with broken ID3-Tags.
--- a/src/aac/src/libmp4.c	Tue Feb 20 06:17:27 2007 -0800
+++ b/src/aac/src/libmp4.c	Tue Feb 20 06:23:44 2007 -0800
@@ -753,7 +753,7 @@
 	    }
             bufferconsumed = aac_probe(buffer, buffervalid);
             if(bufferconsumed) {
-               memmove(buffer, &buffer[bufferconsumed], buffervalid-bufferconsumed);
+               memmove(buffer, &buffer[bufferconsumed], buffervalid);
                buffervalid -= bufferconsumed;
                bufferconsumed = 0;
             }