From 5459c4ab98c3d4377ab8f3379984c809ccf6e7eb Mon Sep 17 00:00:00 2001 From: Angie Chiang Date: Tue, 24 Nov 2020 02:55:24 +0000 Subject: Revert "Close out file in EndEncode()" This reverts commit 7370cecd8929141adb8140b924d3dd8ac1887d36. Reason for revert: I accidentally check in this CL Change-Id: I71ff0b98649070df3edd13b98170a7091541057b --- vp9/simple_encode.cc | 4 ---- 1 file changed, 4 deletions(-) (limited to 'vp9') diff --git a/vp9/simple_encode.cc b/vp9/simple_encode.cc index ba076fd58..46b25d1fd 100644 --- a/vp9/simple_encode.cc +++ b/vp9/simple_encode.cc @@ -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) { -- cgit v1.2.3