void parse_adts_bitstream(AAC_HEAP *heap, BIT_BUFFER *buff )
{
ADTS_FRAME *curFrame = malloc(sizeof(ADTS_FRAME));
ADTS_HEADER *header = &(curFrame->header);
/* Update ADTS First frame pointer */
if( curFrame != NULL )
{
heap->adts = curFrame;
memset( curFrame, 0, sizeof(ADTS_FRAME));
}
else
{
fprintf(stdout, "\nError : malloc failure.. ");
exit(0);
}
/* Parse all frame and get bitstream information */
while ( buff->nBytesRead < buff->bufferSize )
{
/* Get ADTS Header Information */
header->fix.syncword = (short)getbits(12, buff);
header->fix.id = (char )getbits( 1, buff);
header->fix.layer = (char )getbits( 2, buff);
header->fix.protection_absent = (char )getbits( 1, buff);
header->fix.profile_ObjectType = (char )getbits( 2, buff);
header->fix.sampling_frequency_index = (char )getbits( 4, buff);
header->fix.private_bit = (char )getbits( 1, buff);
header->fix.channel_configuration = (char )getbits( 3, buff);
header->fix.original_copy = (char )getbits( 1, buff);
header->fix.home = (char )getbits( 1, buff);
header->var.copyright_identification_bit = (char )getbits( 1, buff);
header->var.copyright_identification_start = (char )getbits( 1, buff);
header->var.aac_frame_length = (short)getbits(13, buff);
header->var.adts_buffer_fullness = (short)getbits(11, buff);
header->var.number_of_raw_data_blocks_in_frame = (char )getbits( 2, buff);
/* Get frame data */
curFrame->data = getdata( header->var.aac_frame_length - ADTS_FRAME_LENGTH, buff );
curFrame->data -= ADTS_FRAME_LENGTH;
/* Parse raw data block */
if ( header->var.number_of_raw_data_blocks_in_frame >= 0 )
{
heap->rdb = curFrame->data;
parse_raw_data_block(heap,buff);
}
/* Allocate Memory for next Frame */
curFrame->next = NULL;
if ( buff->nBytesRead < buff->bufferSize )
{
curFrame->next = malloc(sizeof(ADTS_FRAME));
if(curFrame->next != NULL)
curFrame = (ADTS_FRAME*)curFrame->next;
else
{
fprintf(stdout, "\nError : malloc failure.. ");
exit(0);
}
}
}
return;
}
CXX0017:错误符号&#34;节点&#34;没找到,在&#34;看1&#34;, 我调试我的项目时遇到此错误。 我没有使用&#34; node&#34;在我的程序中的任何地方变量。 为什么会出现此错误。 &#34; parse_raw_data_block(堆,浅黄色)&#34; - 当我调用此函数时出现此错误,如果我评论此函数错误不会来。 请帮帮我。
答案 0 :(得分:2)
CXX0017:错误符号&#34;节点&#34;没找到,在&#34;观看1&#34;
听起来非常像它是调试器中观察到的变量(事实上,它是 such a beast),可能是可能不是代码中的变量。
即使代码中的 ,它也可能与您当前使用的堆栈级别不同。
可能已在名为node
的变量上设置了观察点。您只需要删除该观察点,所使用的方法将由调试器本身决定。
例如,在Visual Studio Debugger中,我相信您可以转到监视窗口并右键单击表达式将其删除。