opencv-4.6.0-fix-ffmpeg-5.patch 547 B

1234567891011121314151617181920
  1. https://github.com/opencv/opencv/issues/22418
  2. https://github.com/opencv/opencv/commit/496eed950f6d0e7fd92619d47e3cec8f06e96ace
  3. https://bugs.gentoo.org/876748
  4. From: Jochen Sprickerhof <jspricke@debian.org>
  5. Date: Mon, 8 Aug 2022 21:10:13 +0200
  6. Subject: [PATCH] Add missing header for LIBAVCODEC_VERSION_INT
  7. --- a/modules/videoio/src/ffmpeg_codecs.hpp
  8. +++ b/modules/videoio/src/ffmpeg_codecs.hpp
  9. @@ -60,6 +60,7 @@ extern "C" {
  10. #include <errno.h>
  11. #endif
  12. +#include <libavcodec/version.h>
  13. #include <libavformat/avformat.h>
  14. #ifdef __cplusplus