C语言程序里的错误,请高手帮忙指教一下

2025-02-03 06:56:43
推荐回答(3个)
回答1:

par[i].cc = wv_init_channel(
owidth,
oheight,
channel_params[i].data,
max_bits / num_channels,
((max_bits <= 0) && (channel_params[i].max_mse == 0.0f)),
(i == 0) ? NULL : &par[0].cc->num_blocks,
(i == 0) ? NULL : &par[0].cc->reorder_table,
prog_func,
(void*)((num_channels << 16) + i));
能否把wv_init_channel函数的原型贴一下,
还有,_packed 好像是用于说明字节对齐的关键字,是不是某个结构体的定义有误?

回答2:

没分,路过...
btw,难道你看不懂错误提示信息吗?

回答3:

a argument of type "_packed int*" is incompetible with parameter of type "int *"