请问调用静态库中 变量
AVCodecContext *c=NULL;
AVFrame *picture=NULL;
decode_avcodec_process(c, picture) 是静态库中的函数, 为什么C 和picture 返回的时候没有值啊,没有被初始化,我再次调用c, picture时 说c, picture中没有数据
请问各位,用C做的静声明态库 中全局变量怎么用啊
我在动态库中声明了一个类,
int OPDisplay::VideoProcess()
{
AVCodecContext *c=NULL;
AVFrame *picture=NULL;
decode_avcodec_process(c, picture);
pgm_save(picture->data[0], picture->inesize[0],c->width, c->height, outfilename, outrecfilename)
}
decode_avcodec_process(c, picture) 是静态库中的函数, 为什么C 和picture 返回的时候没有值啊,没有被初始化