From 0d95acd722ac428e7d03ff4c1904e75cb14f0fd1 Mon Sep 17 00:00:00 2001 From: hj kim Date: Thu, 28 Feb 2019 11:12:11 +0900 Subject: [PATCH] Increase _RETRY_SEARCH_LIMIT to 250. some contents need search count this much Change-Id: I6825cea3e9a0a2a895b2e13af78940889c602744 --- formats/ffmpeg/mm_file_format_ffmpeg.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/formats/ffmpeg/mm_file_format_ffmpeg.c b/formats/ffmpeg/mm_file_format_ffmpeg.c index 3596415..06d6939 100755 --- a/formats/ffmpeg/mm_file_format_ffmpeg.c +++ b/formats/ffmpeg/mm_file_format_ffmpeg.c @@ -1080,7 +1080,7 @@ static int _get_first_good_video_frame(AVFormatContext *pFormatCtx, AVCodecConte int key_search_limit = 0; int frame_search_limit = 0; -#define _RETRY_SEARCH_LIMIT 75 +#define _RETRY_SEARCH_LIMIT 250 #define _KEY_SEARCH_LIMIT (_RETRY_SEARCH_LIMIT*2) /*2 = 1 read. some frame need to read one more*/ #define _FRAME_SEARCH_LIMIT 500 -- 2.7.4