Warning: file_get_contents(/data/phpspider/zhask/data//catemap/8/python-3.x/17.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Ffmpeg 错误:成员访问不完整的类型';AVFormatInternal';_Ffmpeg_Libavcodec_Libav_Libavformat - Fatal编程技术网

Ffmpeg 错误:成员访问不完整的类型';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

我在ffmeg lib中有EROR 错误:对不完整类型“AVFormatInternal”的成员访问 我试着这么做

AVFormatContext *s;
s->internal->raw_packet_buffer;
在libav示例中,它是有效的。
我做错了什么?

这是因为
AVCodecInternal
internal.h

您必须在.c文件中添加
#包括“libavcodec/internal.h”
,其中使用了
AVCodecInternal