]> granicus.if.org Git - libvpx/commitdiff
Revert "Close out file in EndEncode()"
authorAngie Chiang <angiebird@google.com>
Tue, 24 Nov 2020 02:55:24 +0000 (02:55 +0000)
committerAngie Chiang <angiebird@google.com>
Tue, 24 Nov 2020 02:55:24 +0000 (02:55 +0000)
This reverts commit 7370cecd8929141adb8140b924d3dd8ac1887d36.

Reason for revert: I accidentally check in this CL

Change-Id: I71ff0b98649070df3edd13b98170a7091541057b

vp9/simple_encode.cc

index ba076fd586c086beaf62d05951795dfaf441160f..46b25d1fdf82e08f9273ea25b36aedb76540db0f 100644 (file)
@@ -959,10 +959,6 @@ void SimpleEncode::EndEncode() {
   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) {