From e5f7a0c65fdd54cce866e9ab2495f8256ed11d41 Mon Sep 17 00:00:00 2001 From: Andrey Morozov Date: Mon, 20 Jun 2011 12:22:50 +0000 Subject: [PATCH] added define AVSEEK_FLAG_FRAME --- modules/highgui/src/cap_ffmpeg.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 ) {