Fix missing FFmpeg include needed for av_get_pix_fmt_name
This commit is contained in:
parent
4203c903f8
commit
189e1b228d
@ -114,6 +114,8 @@ extern "C" {
|
||||
#include <libavcodec/bsf.h>
|
||||
#endif
|
||||
|
||||
#include <libavutil/pixdesc.h>
|
||||
|
||||
// https://github.com/FFmpeg/FFmpeg/blob/b6af56c034759b81985f8ea094e41cbd5f7fecfb/doc/APIchanges#L208-L210
|
||||
#if LIBAVFORMAT_BUILD >= CALC_FFMPEG_VERSION(59, 0, 100)
|
||||
# define CV_FFMPEG_FMT_CONST const
|
||||
|
||||
Loading…
Reference in New Issue
Block a user