Mercurial > audlegacy
changeset 771:0f0659a2d5fb trunk
[svn] ten iterations?
author | nenolod |
---|---|
date | Wed, 01 Mar 2006 10:33:12 -0800 |
parents | 8c406d5708fd |
children | f9bb836f4545 |
files | Plugins/Input/mpg123/mpg123.c |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/Plugins/Input/mpg123/mpg123.c Wed Mar 01 10:26:30 2006 -0800 +++ b/Plugins/Input/mpg123/mpg123.c Wed Mar 01 10:33:12 2006 -0800 @@ -250,12 +250,12 @@ if (vfs_fread(tmp, 1, 4, file) != 4) goto done; head = convert_to_header(tmp); - while (!mpg123_head_check(head) && ++cyc < 5) { + while (!mpg123_head_check(head) && ++cyc < 10) { /* * The mpeg-stream can start anywhere in the file, * so we check the entire file * - * Incorrect! We give up past five iterations of this + * Incorrect! We give up past ten iterations of this * code for safety's sake. Buffer overflows suck. --nenolod */ /* Optimize this */