From 1d2d579bd655cc834542d86de3c2dabc645dc163 Mon Sep 17 00:00:00 2001 From: jormansa Date: Mon, 15 Sep 2014 18:09:44 +0200 Subject: [PATCH] bug fixed --- modules/highgui/src/cap_ffmpeg_impl.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/highgui/src/cap_ffmpeg_impl.hpp b/modules/highgui/src/cap_ffmpeg_impl.hpp index 2b185595d9..be9c7aa3e2 100644 --- a/modules/highgui/src/cap_ffmpeg_impl.hpp +++ b/modules/highgui/src/cap_ffmpeg_impl.hpp @@ -630,7 +630,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;