ref: 639b9c8ff29c0000a494e91fac4d224bd7064578
parent: ee772c4bc50a9ff0743198825a5dca9b0038c056
author: menno <menno>
date: Tue Aug 15 15:22:15 EDT 2006
Fixed small range checking bug
--- a/libfaad/syntax.c
+++ b/libfaad/syntax.c
@@ -27,7 +27,7 @@
** Commercial non-GPL licensing of this software is possible.
** For more info contact Nero AG through [email protected].
**
-** $Id: syntax.c,v 1.86 2006/08/07 18:00:49 menno Exp $
+** $Id: syntax.c,v 1.87 2006/08/15 19:22:15 menno Exp $
**/
/*
@@ -1749,12 +1749,12 @@
if (ics->window_sequence == EIGHT_SHORT_SEQUENCE)
{
- if (k + sect_len >= 8*15)
+ if (k + sect_len > 8*15)
return 15;
if (i >= 8*15)
return 15;
} else {
- if (k + sect_len >= MAX_SFB)
+ if (k + sect_len > MAX_SFB)
return 15;
if (i >= MAX_SFB)
return 15;