Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Build fails: error: unknown type name 'AVBSFContext'; did you mean 'AVIOContext'? #308

Open
yurivict opened this issue Jul 17, 2024 · 1 comment

Comments

@yurivict
Copy link

In file included from /usr/ports/multimedia/decord/work/decord-0.6.0-7-gd2e5619/src/video/logging.cc:7:
/usr/ports/multimedia/decord/work/decord-0.6.0-7-gd2e5619/src/video/ffmpeg/ffmpeg_common.h:187:5: error: unknown type name 'AVBSFContext'; did you mean 'AVIOContext'?
  187 |     AVBSFContext, Deleterp<AVBSFContext, void, av_bsf_free> >;
      |     ^~~~~~~~~~~~
      |     AVIOContext
/usr/local/include/libavformat/avio.h:322:3: note: 'AVIOContext' declared here
  322 | } AVIOContext;
      |   ^
In file included from /usr/ports/multimedia/decord/work/decord-0.6.0-7-gd2e5619/src/video/logging.cc:7:
/usr/ports/multimedia/decord/work/decord-0.6.0-7-gd2e5619/src/video/ffmpeg/ffmpeg_common.h:187:28: error: unknown type name 'AVBSFContext'; did you mean 'AVIOContext'?
  187 |     AVBSFContext, Deleterp<AVBSFContext, void, av_bsf_free> >;
      |                            ^~~~~~~~~~~~
      |                            AVIOContext
/usr/local/include/libavformat/avio.h:322:3: note: 'AVIOContext' declared here
  322 | } AVIOContext;
      |   ^

ffmpeg-6.1.1_5
clang-18
FreeBSD 14.1

@yurivict
Copy link
Author

#309

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant