IT博客汇
  • 首页
  • 精华
  • 技术
  • 设计
  • 资讯
  • 扯淡
  • 权利声明
  • 登录 注册

    导入ffmpeg头文件,编译报错:undefined reference to `avformat_open_input,,,

    小王发表于 2024-04-11 08:18:00
    love 0
    用extern "C"{}把头文件包含起来。

    extern "C"
    {
    #include <libavcodec/avcodec.h>
    #include <libavformat/avformat.h>
    #include <libswscale/swscale.h>
    }

    O了!


    小王 2024-04-11 16:18 发表评论


沪ICP备19023445号-2号
友情链接