# HG changeset patch # User nenolod # Date 1171981424 28800 # Node ID 9e85901ac6c00f66e5926c40f622dc3f192e882f # Parent 43c77973e4946e9b94afacaf33867cdb6d8e9165 [svn] - some additional cleanups diff -r 43c77973e494 -r 9e85901ac6c0 ChangeLog --- 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 + 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 revision [1460] Revert r1456, this gives problems with some files with broken ID3-Tags. diff -r 43c77973e494 -r 9e85901ac6c0 src/aac/src/libmp4.c --- 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; }