From f3204ca0c6f6398d2bf64b5ebe77274a0cb17553 Mon Sep 17 00:00:00 2001 From: Tristan Matthews <tristan.matthews@savoirfairelinux.com> Date: Fri, 11 Jul 2014 17:16:24 -0400 Subject: [PATCH] video_scaler: initialize pointer member in ctor Refs #51340 Change-Id: Ic9da071d0d9bdaf55946f3c669de3080c7878d85 --- daemon/src/video/video_scaler.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/daemon/src/video/video_scaler.cpp b/daemon/src/video/video_scaler.cpp index 16f60864fa..4401146927 100644 --- a/daemon/src/video/video_scaler.cpp +++ b/daemon/src/video/video_scaler.cpp @@ -37,7 +37,7 @@ 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_); } -- GitLab