changeset 3050:504fe83d18c9

There is no need to zero out bufferconsumed here, it will be overwritten a mere line later. Code analysis run, unique ID M8906q.
author Tony Vroon <chainsaw@gentoo.org>
date Sat, 18 Apr 2009 19:02:31 +0100
parents 9ec8a613a1d6
children 10764aa201f2
files src/aac/libmp4.c
diffstat 1 files changed, 0 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/aac/libmp4.c	Sat Apr 18 13:59:58 2009 +0200
+++ b/src/aac/libmp4.c	Sat Apr 18 19:02:31 2009 +0100
@@ -701,7 +701,6 @@
       memmove(streambuffer, &streambuffer[bufferconsumed], buffervalid);
       buffervalid += aud_vfs_fread(&streambuffer[buffervalid], 1,
                      BUFFER_SIZE-buffervalid, file);
-      bufferconsumed = 0;
     }
 
     bufferconsumed = faacDecInit(decoder,