shithub: libvpx

Download patch

ref: 8631eb4506ac666bbec31167ec274e12af64a066
parent: 4745bc2ff30f5ab344202685e103a49aa56adf07
author: Paul Wilkins <paulwilkins@google.com>
date: Fri Jul 6 13:02:26 EDT 2018

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

--- a/vp9/encoder/vp9_firstpass.c
+++ b/vp9/encoder/vp9_firstpass.c
@@ -2115,7 +2115,6 @@
     ++s;
     ++i;
   }
-  assert(i == frame_count);
 
   return score_total;
 }