#if LIBAVCODEC_VERSION_MAJOR < 53
#define AVPALETTE_SIZE 1024
#define AVPALETTE_COUNT 256
typedef struct AVPaletteControl {
int palette_changed;
unsigned int palette[AVPALETTE_COUNT];
} AVPaletteControl attribute_deprecated;
#endif
以上是定义结构体attribute_deprecated void av_destruct_packet_nofree(AVPacket *pkt);//此处为使用结构体来定义函数
void av_destruct_packet(AVPacket *pkt); // ---ln1166
以下是出现的错误:e:\测试实验台\vc6.0\testffmpegformp4\ffmpeg\libavcodec\avcodec.h(1165) : error C2085: 'av_destruct_packet_nofree' : not in formal parameter list
e:\测试实验台\vc6.0\testffmpegformp4\ffmpeg\libavcodec\avcodec.h(1166) : error C2085: 'av_destruct_packet' : not in formal parameter list
请问一下这个是什么错误,我定义过了,不明白为什么,请各位高手看看!
#define AVPALETTE_SIZE 1024
#define AVPALETTE_COUNT 256
typedef struct AVPaletteControl {
int palette_changed;
unsigned int palette[AVPALETTE_COUNT];
} AVPaletteControl attribute_deprecated;
#endif
以上是定义结构体attribute_deprecated void av_destruct_packet_nofree(AVPacket *pkt);//此处为使用结构体来定义函数
void av_destruct_packet(AVPacket *pkt); // ---ln1166
以下是出现的错误:e:\测试实验台\vc6.0\testffmpegformp4\ffmpeg\libavcodec\avcodec.h(1165) : error C2085: 'av_destruct_packet_nofree' : not in formal parameter list
e:\测试实验台\vc6.0\testffmpegformp4\ffmpeg\libavcodec\avcodec.h(1166) : error C2085: 'av_destruct_packet' : not in formal parameter list
请问一下这个是什么错误,我定义过了,不明白为什么,请各位高手看看!
解决方案 »
- MFC多线程问题
- 关于提取PDF内容到文本内的问题,分不是问题
- 哪位高手使用过TAPI过来帮助一下!
- 大家好,请教一个COM组件方面的问题。在线等待
- 请问下怎样在DrawItem中把按钮disable时的字体画成windows按钮默认的样子?
- 我用ADO作嵌套查询,但是在catch中为什么说'Error_code1' : undeclared identifier?
- SetTimer问题?
- WideCharToMultiByte()是干什么的,那个能解释一下,还有我的开发经历一起连着写了两个时什么意思
- 怎样让edit控件只显示某些规定的字符?
- 网上哪里有关于银行综合系统设计开发的资料?请给出网址0
- VC++6.0 单文档 Mainframe 中如何 获取 dialog的成员变量并操作?
- 连接数据库指针
#define AVPALETTE_SIZE 1024
#define AVPALETTE_COUNT 256
typedef struct AVPaletteControl { int palette_changed; unsigned int palette[AVPALETTE_COUNT];} attribute_deprecated;
#endifattribute_deprecated av_destruct_packet_nofree(AVPacket *pkt);//此处为使用结构体来定义函数
void av_destruct_packet(AVPacket *pkt);
“attribute_deprecated void ”
怎么返回类型写了2个啊?
呵呵,是啊,ffmpeg就是这样子,看来我被愚弄了,呵呵,非常感谢大家!