Ffmpeg 错误:成员访问不完整的类型';AVFormatInternal';
我在ffmeg lib中有EROR 错误:对不完整类型“AVFormatInternal”的成员访问 我试着这么做Ffmpeg 错误:成员访问不完整的类型';AVFormatInternal';,ffmpeg,libavcodec,libav,libavformat,Ffmpeg,Libavcodec,Libav,Libavformat,我在ffmeg lib中有EROR 错误:对不完整类型“AVFormatInternal”的成员访问 我试着这么做 AVFormatContext *s; s->internal->raw_packet_buffer; 在libav示例中,它是有效的。 我做错了什么?这是因为AVCodecInternal在internal.h 您必须在.c文件中添加#包括“libavcodec/internal.h”,其中使用了AVCodecInternal
AVFormatContext *s;
s->internal->raw_packet_buffer;
在libav示例中,它是有效的。
我做错了什么?这是因为
AVCodecInternal
在internal.h
您必须在.c文件中添加#包括“libavcodec/internal.h”
,其中使用了AVCodecInternal