gpt4 book ai didi

CXX0017 : Error symbol "node" not found

转载 作者:行者123 更新时间:2023-11-30 18:56:00 24 4
gpt4 key购买 nike

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:在“watch 1”中未找到错误符号“node”,当我调试我的项目时,我遇到了这个错误。我没有在程序中的任何地方使用“node”变量。为什么会出现这个错误。“parse_raw_data_block(heap,buff)”-当我调用这个函数时,这个错误就会出现,如果我评论这个函数,错误就不会出现。请帮助我。

最佳答案

CXX0017: Error symbol "node" not found , in "watch 1"

听起来很像在调试器中监视的变量(事实上,它是 such a beast ),它可能是也可能不是变量在您的代码中。

即使它您的代码中,它也可能位于与您当前所在的不同的堆栈级别。

很可能已在名为 node 的变量上设置了观察点。您只需要删除该观察点,所使用的方法将由调试器本身决定。

例如,在 Visual Studio 调试器中,我相信您可以转到监 window 口并右键单击表达式将其删除。

关于CXX0017 : Error symbol "node" not found,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/25657604/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com