]> granicus.if.org Git - libvpx/commitdiff
Delete invalid assert.
authorPaul Wilkins <paulwilkins@google.com>
Fri, 6 Jul 2018 16:02:26 +0000 (17:02 +0100)
committerPaul Wilkins <paulwilkins@google.com>
Mon, 9 Jul 2018 13:30:15 +0000 (14:30 +0100)
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

index 7cc4659a96fa628d3641aa33e6a55b7187b015d1..a5465e3d177ad58707fe54eed42b05101fa7d57b 100644 (file)
@@ -2115,7 +2115,6 @@ static double calculate_group_score(VP9_COMP *cpi, double av_score,
     ++s;
     ++i;
   }
-  assert(i == frame_count);
 
   return score_total;
 }