shithub: libvpx

Download patch

ref: 4d307cd7ff7baaca93053be554db300de2b149f0
parent: b66b33b524725953e4715eca4ce47583fba6a857
author: angiebird <[email protected]>
date: Wed Oct 30 10:40:53 EDT 2019

Remove extra function calls in check_initial_width

These function are already called in set_frame_size()

Change-Id: I71c1f906fa4deef7bc630dcff1506f5b57c6d045

--- a/vp9/encoder/vp9_encoder.c
+++ b/vp9/encoder/vp9_encoder.c
@@ -5335,9 +5335,6 @@
 #endif
 
     alloc_raw_frame_buffers(cpi);
-    alloc_util_frame_buffers(cpi);
-
-    init_motion_estimation(cpi);  // TODO(agrange) This can be removed.
 
     cpi->initial_width = cm->width;
     cpi->initial_height = cm->height;