summaryrefslogtreecommitdiff
path: root/src/libfaad/pulse.c
diff options
context:
space:
mode:
authorMike Melanson <mike@multimedia.cx>2005-10-29 23:57:06 +0000
committerMike Melanson <mike@multimedia.cx>2005-10-29 23:57:06 +0000
commit03ac29c63fd3d5019c67b3662669b1c443896f0b (patch)
tree00db769b2943fce16b9967591652d2c0724be168 /src/libfaad/pulse.c
parentc7976c4d0d8d02fa18bc9fd82bafe99e333e2a53 (diff)
downloadxine-lib-03ac29c63fd3d5019c67b3662669b1c443896f0b.tar.gz
xine-lib-03ac29c63fd3d5019c67b3662669b1c443896f0b.tar.bz2
update libfaad2 to CVS snapshot 2004-09-15
CVS patchset: 7777 CVS date: 2005/10/29 23:57:06
Diffstat (limited to 'src/libfaad/pulse.c')
-rw-r--r--src/libfaad/pulse.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/libfaad/pulse.c b/src/libfaad/pulse.c
index 8a9c335d9..9e0a705e6 100644
--- a/src/libfaad/pulse.c
+++ b/src/libfaad/pulse.c
@@ -22,7 +22,7 @@
** Commercial non-GPL licensing of this software is possible.
** For more info contact Ahead Software through Mpeg4AAClicense@nero.com.
**
-** $Id: pulse.c,v 1.7 2004/12/03 01:15:30 tmattern Exp $
+** $Id: pulse.c,v 1.8 2005/10/29 23:57:07 tmmm Exp $
**/
#include "common.h"
@@ -39,7 +39,8 @@ uint8_t pulse_decode(ic_stream *ics, int16_t *spec_data, uint16_t framelen)
k = ics->swb_offset[pul->pulse_start_sfb];
- for(i = 0; i <= pul->number_pulse; i++) {
+ for (i = 0; i <= pul->number_pulse; i++)
+ {
k += pul->pulse_offset[i];
if (k >= framelen)