shithub: libvpx

Download patch

ref: 0de1df6bf7afea01f9a779bf5b2ef7ffbfc3b751
parent: 71c8e0c009ef2ce3c1a170cbdba130c86de7a095
parent: 5459c4ab98c3d4377ab8f3379984c809ccf6e7eb
author: Angie Chiang <[email protected]>
date: Mon Nov 23 22:10:44 EST 2020

Merge "Revert "Close out file in EndEncode()""

--- a/vp9/simple_encode.cc
+++ b/vp9/simple_encode.cc
@@ -1078,10 +1078,6 @@
   impl_ptr_->cpi = nullptr;
   vpx_img_free(&impl_ptr_->tmp_img);
   rewind(in_file_);
-  if (out_file_ != nullptr) {
-    fclose(out_file_);
-    out_file_ = nullptr;
-  }
 }
 
 void SimpleEncode::UpdateKeyFrameGroup(int key_frame_show_index) {