Skip to content
Snippets Groups Projects
Commit f3204ca0 authored by Tristan Matthews's avatar Tristan Matthews
Browse files

video_scaler: initialize pointer member in ctor

Refs #51340

Change-Id: Ic9da071d0d9bdaf55946f3c669de3080c7878d85
parent 50bf08e1
No related branches found
No related tags found
No related merge requests found
...@@ -37,7 +37,7 @@ ...@@ -37,7 +37,7 @@
namespace sfl_video { namespace sfl_video {
VideoScaler::VideoScaler() : ctx_(0), mode_(SWS_FAST_BILINEAR) {} VideoScaler::VideoScaler() : ctx_(0), mode_(SWS_FAST_BILINEAR), tmp_data_() {}
VideoScaler::~VideoScaler() { sws_freeContext(ctx_); } VideoScaler::~VideoScaler() { sws_freeContext(ctx_); }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment