History

Improved bitstream analysis

menno committed 24 years ago

Commit 58fc7021 parent 6532c5d4 files · +144 −141Browse files

Showing the changes to libfaad/decoder.c (1 of 4 files). Show all

Unified · Split

libfaad/decoder.c+5−5
@@ -16,7 +16,7 @@ · 15 unmodified lines
16** along with this program; if not, write to the Free Software 16** along with this program; if not, write to the Free Software
17** Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.17** Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
18**18**
19** $Id: decoder.c,v 1.4 2002/01/19 16:06:14 menno Exp $19** $Id: decoder.c,v 1.5 2002/01/19 16:19:54 menno Exp $
20**/20**/
21 21
22#include <stdlib.h>22#include <stdlib.h>
@@ -190,13 +190,13 @@ int parse_audio_decoder_specific_info(faacDecHandle hDecoder, · 167 unmodified lines
190 faad_byte_align(&ld);190 faad_byte_align(&ld);
191 191
192 ObjectTypeIndex = faad_getbits(&ld, 5192 ObjectTypeIndex = faad_getbits(&ld, 5
193 DEBUGVAR(1,0,"parse_audio_decoder_specific_info(): ObjectTypeIndex"));193 DEBUGVAR(1,1,"parse_audio_decoder_specific_info(): ObjectTypeIndex"));
194 194
195 SamplingFrequencyIndex = faad_getbits(&ld, 4195 SamplingFrequencyIndex = faad_getbits(&ld, 4
196 DEBUGVAR(1,0,"parse_audio_decoder_specific_info(): SamplingFrequencyIndex"));196 DEBUGVAR(1,2,"parse_audio_decoder_specific_info(): SamplingFrequencyIndex"));
197 197
198 ChannelsConfiguration = faad_getbits(&ld, 4198 ChannelsConfiguration = faad_getbits(&ld, 4
199 DEBUGVAR(1,0,"parse_audio_decoder_specific_info(): ChannelsConfiguration"));199 DEBUGVAR(1,3,"parse_audio_decoder_specific_info(): ChannelsConfiguration"));
200 200
201 if (ObjectTypesTable[ObjectTypeIndex] != 1)201 if (ObjectTypesTable[ObjectTypeIndex] != 1)
202 {202 {
@@ -336,7 +336,7 @@ void* FAADAPI faacDecDecode(faacDecHandle hDecoder, · 133 unmodified lines
336 336
337 /* Table 4.4.3: raw_data_block() */337 /* Table 4.4.3: raw_data_block() */
338 while ((id_syn_ele = faad_getbits(ld, LEN_SE_ID338 while ((id_syn_ele = faad_getbits(ld, LEN_SE_ID
339 DEBUGVAR(1,0,"faacDecDecode(): id_syn_ele"))) != ID_END)339 DEBUGVAR(1,4,"faacDecDecode(): id_syn_ele"))) != ID_END)
340 {340 {
341 switch (id_syn_ele) {341 switch (id_syn_ele) {
342 case ID_SCE:342 case ID_SCE:

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t