]> git.tue.mpg.de Git - paraslash.git/commitdiff
aacdec: raise min buffer size to 1000 bytes.
authorAndre <maan@p133.(none)>
Thu, 4 May 2006 21:33:00 +0000 (23:33 +0200)
committerAndre <maan@p133.(none)>
Thu, 4 May 2006 21:33:00 +0000 (23:33 +0200)
Fixes problems when used together with the wav filter.

aacdec.c

index aa835390e7f18ef0b8572e1a8b6e59de58c51393..0796e9c5768786d3d2b4e07575547d9e63a8f22d 100644 (file)
--- a/aacdec.c
+++ b/aacdec.c
@@ -205,7 +205,7 @@ static ssize_t mp4dec(char *inbuffer, size_t len, struct filter_node *fn)
 
        if (fn->loaded > fn->bufsize * 4 / 5)
                return 0;
-       if (len < 10 && !*fci->eof)
+       if (len < 1000 && !*fci->eof)
                return 0;
        padd->consumed = 0;
        padd->inbuf = inbuffer;