From: Angie Chiang Date: Tue, 24 Nov 2020 02:55:24 +0000 (+0000) Subject: Revert "Close out file in EndEncode()" X-Git-Tag: v1.10.0-rc1~29^2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=5459c4ab98c3d4377ab8f3379984c809ccf6e7eb;p=libvpx Revert "Close out file in EndEncode()" This reverts commit 7370cecd8929141adb8140b924d3dd8ac1887d36. Reason for revert: I accidentally check in this CL Change-Id: I71ff0b98649070df3edd13b98170a7091541057b --- 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) {