【问题标题】:error: member access into incomplete type 'AVFormatInternal'错误:成员访问不完整类型“AVFormatInternal”
【发布时间】:2020-05-04 03:28:15
【问题描述】:

我在 ffmeg 库中有 eroor 错误:成员访问不完整类型“AVFormatInternal” 我尝试这样做

AVFormatContext *s;
s->internal->raw_packet_buffer;

在 libav 示例中它可以工作。 我做错了什么?

【问题讨论】:

    标签: ffmpeg libavcodec libav libavformat


    【解决方案1】:

    这是因为AVCodecInternal 是在internal.h 中定义的

    您必须在.c 文件中添加#include "libavcodec/internal.h",其中使用AVCodecInternal。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2021-11-13
      • 1970-01-01
      • 2022-12-11
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多