这是我的一段代码,我正在VS2010中编译:
static inline int ff_insert_inpad(AVFilterContext *f, unsigned index, AVFilterPad *p)
{
int ret = ff_insert_pad(index, &f->nb_inputs, offsetof(AVFilterLink, dstpad), &f->input_pads, &f->inputs, p);
#if FF_API_FOO_COUNT
FF_DISABLE_DEPRECATION_WARNINGS
f->input_count = f->nb_inputs;
FF_ENABLE_DEPRECATION_WARNINGS
#endif
return ret; // error here
}
我收到的错误如下:
2>c:\users\awki6\desktop\ffmpeg\libavfilter\internal.h(271): error C2143: syntax error : missing ';' before 'return'