diff --git a/modules/highgui/src/cap_ffmpeg.cpp b/modules/highgui/src/cap_ffmpeg.cpp index 2653bada99..ec44548fda 100644 --- a/modules/highgui/src/cap_ffmpeg.cpp +++ b/modules/highgui/src/cap_ffmpeg.cpp @@ -433,7 +433,9 @@ bool CvCapture_FFMPEG::reopen() return true; } - +#ifndef AVSEEK_FLAG_FRAME + #define AVSEEK_FLAG_FRAME 0 +#endif bool CvCapture_FFMPEG::open( const char* _filename ) {