来自ffmpeg的Windows 10错误的Telegram Build失败

时间:2016-08-23 05:46:36

标签: c++ build visual-studio-2015 ffmpeg telegram

重现的步骤

从Visual Studio 2015构建电报项目 预期行为

构建:4成功,0失败

实际行为

 main.cpp
  mainwidget.cpp
  mediaview.cpp
  media_audio.cpp
SourceFiles\media\media_audio.cpp(1455): error C2039: 'codecpar': is not a member of 'AVStream'
  D:\TBuild\Libraries\ffmpeg\libavformat/avformat.h(846): note: see declaration of 'AVStream'
SourceFiles\media\media_audio.cpp(1455): error C3861: 'avcodec_parameters_from_context': identifier not found
SourceFiles\media\media_audio.cpp(1772): error C3861: 'avcodec_send_frame': identifier not found
SourceFiles\media\media_audio.cpp(1788): error C3861: 'avcodec_send_frame': identifier not found
SourceFiles\media\media_audio.cpp(1816): error C3861: 'avcodec_receive_packet': identifier not found
  Generating Code...
  Compiling...
  media_audio_ffmpeg_loader.cpp
SourceFiles\media\media_audio_ffmpeg_loader.cpp(68): error C2039: 'codecpar': is not a member of 'AVStream'
  D:\TBuild\Libraries\ffmpeg\libavformat/avformat.h(846): note: see declaration of 'AVStream'
SourceFiles\media\media_audio_ffmpeg_loader.cpp(68): error C2227: left of '->sample_rate' must point to class/struct/union/generic type
SourceFiles\media\media_audio_ffmpeg_loader.cpp(148): error C2039: 'codecpar': is not a member of 'AVStream'
  D:\TBuild\Libraries\ffmpeg\libavformat/avformat.h(846): note: see declaration of 'AVStream'
SourceFiles\media\media_audio_ffmpeg_loader.cpp(155): error C3536: 'codecParams': cannot be used before it is initialized
SourceFiles\media\media_audio_ffmpeg_loader.cpp(155): error C3861: 'avcodec_parameters_to_context': identifier not found
SourceFiles\media\media_audio_ffmpeg_loader.cpp(167): error C2227: left of '->channel_layout' must point to class/struct/union/generic type
  SourceFiles\media\media_audio_ffmpeg_loader.cpp(167): note: type is 'int'
SourceFiles\media\media_audio_ffmpeg_loader.cpp(248): error C3861: 'avcodec_receive_frame': identifier not found
SourceFiles\media\media_audio_ffmpeg_loader.cpp(267): error C3861: 'avcodec_send_packet': identifier not found
SourceFiles\media\media_audio_ffmpeg_loader.cpp(272): error C3861: 'avcodec_send_packet': identifier not found
  media_audio_loader.cpp
  media_audio_loaders.cpp
  media_child_ffmpeg_loader.cpp
SourceFiles\media\media_child_ffmpeg_loader.cpp(120): error C3861: 'avcodec_receive_frame': identifier not found
SourceFiles\media\media_child_ffmpeg_loader.cpp(142): error C3861: 'avcodec_send_packet': identifier not found
SourceFiles\media\media_child_ffmpeg_loader.cpp(146): error C3861: 'avcodec_send_packet': identifier not found
  media_clip_ffmpeg.cpp
SourceFiles\media\media_clip_ffmpeg.cpp(46): error C3861: 'avcodec_receive_frame': identifier not found
SourceFiles\media\media_clip_ffmpeg.cpp(90): error C3861: 'avcodec_send_packet': identifier not found
SourceFiles\media\media_clip_ffmpeg.cpp(98): error C3861: 'avcodec_send_packet': identifier not found
SourceFiles\media\media_clip_ffmpeg.cpp(294): error C2039: 'codecpar': is not a member of 'AVStream'
  D:\TBuild\Libraries\ffmpeg\libavformat/avformat.h(846): note: see declaration of 'AVStream'
SourceFiles\media\media_clip_ffmpeg.cpp(294): error C3861: 'avcodec_parameters_to_context': identifier not found
SourceFiles\media\media_clip_ffmpeg.cpp(331): error C2039: 'codecpar': is not a member of 'AVStream'
  D:\TBuild\Libraries\ffmpeg\libavformat/avformat.h(846): note: see declaration of 'AVStream'
SourceFiles\media\media_clip_ffmpeg.cpp(331): error C3861: 'avcodec_parameters_to_context': identifier not found
SourceFiles\media\media_clip_ffmpeg.cpp(346): error C2039: 'codecpar': is not a member of 'AVStream'
  D:\TBuild\Libraries\ffmpeg\libavformat/avformat.h(846): note: see declaration of 'AVStream'
SourceFiles\media\media_clip_ffmpeg.cpp(346): error C2227: left of '->sample_rate' must point to class/struct/union/generic type
  media_clip_implementation.cpp

3成功,1失败

配置

操作系统: Windows 10 x64 电报桌面版本: AppVersion 10002

0 个答案:

没有答案