From 8631eb4506ac666bbec31167ec274e12af64a066 Mon Sep 17 00:00:00 2001 From: Paul Wilkins Date: Fri, 6 Jul 2018 17:02:26 +0100 Subject: [PATCH] Delete invalid assert. Delete assert that is not valid in all cases. This can occur if the last group in a clip is a GF only group. Here the frame count reflects the nominal positioning of the "next" GF (were it to exist) one frame beyond the of the end of the clip. Change-Id: I0d36b83de0ab478dab032599ee7df7fff4a35cd5 --- vp9/encoder/vp9_firstpass.c | 1 - 1 file changed, 1 deletion(-) diff --git a/vp9/encoder/vp9_firstpass.c b/vp9/encoder/vp9_firstpass.c index 7cc4659a9..a5465e3d1 100644 --- a/vp9/encoder/vp9_firstpass.c +++ b/vp9/encoder/vp9_firstpass.c @@ -2115,7 +2115,6 @@ static double calculate_group_score(VP9_COMP *cpi, double av_score, ++s; ++i; } - assert(i == frame_count); return score_total; } -- 2.40.0