shithub: libvpx

Download patch

ref: 5459c4ab98c3d4377ab8f3379984c809ccf6e7eb
parent: 7370cecd8929141adb8140b924d3dd8ac1887d36
author: Angie Chiang <[email protected]>
date: Mon Nov 23 21:55:24 EST 2020

Revert "Close out file in EndEncode()"

This reverts commit 7370cecd8929141adb8140b924d3dd8ac1887d36.

Reason for revert: I accidentally check in this CL

Change-Id: I71ff0b98649070df3edd13b98170a7091541057b

--- a/vp9/simple_encode.cc
+++ b/vp9/simple_encode.cc
@@ -959,10 +959,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) {