diff options
author | angiebird <angiebird@google.com> | 2019-11-18 10:37:15 -0800 |
---|---|---|
committer | angiebird <angiebird@google.com> | 2019-11-20 10:41:16 -0800 |
commit | cd686f727ab7b3a6a30758a13d4bb77eb44afb3f (patch) | |
tree | 762ac47da967a9481cd6bcc0b1524c8d308b3998 /vp9/simple_encode.cc | |
parent | 89077d4505f69d742e17efc259bdd4d1fae65e31 (diff) | |
download | libvpx-cd686f727ab7b3a6a30758a13d4bb77eb44afb3f.tar libvpx-cd686f727ab7b3a6a30758a13d4bb77eb44afb3f.tar.gz libvpx-cd686f727ab7b3a6a30758a13d4bb77eb44afb3f.tar.bz2 libvpx-cd686f727ab7b3a6a30758a13d4bb77eb44afb3f.zip |
Move pimpl to the function body of SimpleEncode
Change-Id: Id4757d61916b8348d76c99dddbe48e68f2b3ef1a
Diffstat (limited to 'vp9/simple_encode.cc')
-rw-r--r-- | vp9/simple_encode.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/vp9/simple_encode.cc b/vp9/simple_encode.cc index 20a4567df..458f136f4 100644 --- a/vp9/simple_encode.cc +++ b/vp9/simple_encode.cc @@ -102,8 +102,8 @@ static void update_encode_frame_result( SimpleEncode::SimpleEncode(int frame_width, int frame_height, int frame_rate_num, int frame_rate_den, int target_bitrate, int num_frames, - const char *infile_path) - : pimpl{ std::unique_ptr<impl>(new impl()) } { + const char *infile_path) { + this->pimpl = std::unique_ptr<impl>(new impl()); this->frame_width = frame_width; this->frame_height = frame_height; this->frame_rate_num = frame_rate_num; |