Mercurial > audlegacy
comparison Plugins/Input/aac/libfaad2/pulse.c @ 1010:29feaace84d0 trunk
[svn] - synchronize audacious-faad with FAAD2 CVS.
author | nenolod |
---|---|
date | Mon, 08 May 2006 06:56:47 -0700 |
parents | 0a2ad94e8607 |
children | 1e6c0a3f2d15 |
comparison
equal
deleted
inserted
replaced
1009:1008da26c12d | 1010:29feaace84d0 |
---|---|
20 ** forbidden. | 20 ** forbidden. |
21 ** | 21 ** |
22 ** Commercial non-GPL licensing of this software is possible. | 22 ** Commercial non-GPL licensing of this software is possible. |
23 ** For more info contact Ahead Software through Mpeg4AAClicense@nero.com. | 23 ** For more info contact Ahead Software through Mpeg4AAClicense@nero.com. |
24 ** | 24 ** |
25 ** $Id: pulse.c,v 1.17 2004/09/04 14:56:28 menno Exp $ | 25 ** $Id: pulse.c,v 1.14 2004/01/05 14:05:12 menno Exp $ |
26 **/ | 26 **/ |
27 | 27 |
28 #include "common.h" | 28 #include "common.h" |
29 #include "structs.h" | 29 #include "structs.h" |
30 | 30 |
37 uint16_t k; | 37 uint16_t k; |
38 pulse_info *pul = &(ics->pul); | 38 pulse_info *pul = &(ics->pul); |
39 | 39 |
40 k = ics->swb_offset[pul->pulse_start_sfb]; | 40 k = ics->swb_offset[pul->pulse_start_sfb]; |
41 | 41 |
42 for (i = 0; i <= pul->number_pulse; i++) | 42 for(i = 0; i <= pul->number_pulse; i++) { |
43 { | |
44 k += pul->pulse_offset[i]; | 43 k += pul->pulse_offset[i]; |
45 | 44 |
46 if (k >= framelen) | 45 if (k >= framelen) |
47 return 15; /* should not be possible */ | 46 return 15; /* should not be possible */ |
48 | 47 |