ref: dc165c1eac5da19de0d4daffb916f2b1b524965b
parent: f241b4e7b6279624c80989cf084320d301e9c2b9
author: menno <menno>
date: Wed Nov 5 04:32:04 EST 2003
DRM fix
--- a/libfaad/decoder.c
+++ b/libfaad/decoder.c
@@ -22,7 +22,7 @@
** Commercial non-GPL licensing of this software is possible.
** For more info contact Ahead Software through [email protected].
**
-** $Id: decoder.c,v 1.79 2003/11/04 21:43:30 menno Exp $
+** $Id: decoder.c,v 1.80 2003/11/05 09:32:04 menno Exp $
**/
#include "common.h"
@@ -824,6 +824,8 @@
#ifdef SBR_DEC
if ((hDecoder->sbr_present_flag == 1) && (hDecoder->object_type == DRM_ER_LC))
{
+ int32_t i;
+
if (bitsconsumed + 8 > buffer_size*8)
{
hInfo->error = 14;