From 3c2e12a74421533fd10b577d7160a9fdecbe9574 Mon Sep 17 00:00:00 2001 From: jormansa Date: Mon, 15 Sep 2014 18:09:44 +0200 Subject: [PATCH] bug fixed Conflicts: modules/highgui/src/cap_ffmpeg_impl.hpp --- modules/videoio/src/cap_ffmpeg_impl.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/videoio/src/cap_ffmpeg_impl.hpp b/modules/videoio/src/cap_ffmpeg_impl.hpp index f49301a8a8..e9a6721d33 100644 --- a/modules/videoio/src/cap_ffmpeg_impl.hpp +++ b/modules/videoio/src/cap_ffmpeg_impl.hpp @@ -649,7 +649,7 @@ bool CvCapture_FFMPEG::grabFrame() int got_picture; int count_errs = 0; - const int max_number_of_attempts = 1 << 16; + const int max_number_of_attempts = 1 << 9; if( !ic || !video_st ) return false;