Merge pull request #22958 from asmorkalov:as/ffmpeg_missing_include

This commit is contained in:
Alexander Alekhin 2022-12-14 21:16:07 +00:00
commit 04c3a534af

View File

@ -114,6 +114,8 @@ extern "C" {
#include <libavcodec/bsf.h> #include <libavcodec/bsf.h>
#endif #endif
#include <libavutil/pixdesc.h>
// https://github.com/FFmpeg/FFmpeg/blob/b6af56c034759b81985f8ea094e41cbd5f7fecfb/doc/APIchanges#L208-L210 // https://github.com/FFmpeg/FFmpeg/blob/b6af56c034759b81985f8ea094e41cbd5f7fecfb/doc/APIchanges#L208-L210
#if LIBAVFORMAT_BUILD >= CALC_FFMPEG_VERSION(59, 0, 100) #if LIBAVFORMAT_BUILD >= CALC_FFMPEG_VERSION(59, 0, 100)
# define CV_FFMPEG_FMT_CONST const # define CV_FFMPEG_FMT_CONST const