Fix uninitialized scalar and pointer field in constructors 29/277229/1 tizen_devel accepted/tizen/unified/20220705.211048 submit/tizen/20220704.092747
authorTae-Young Chung <ty83.chung@samsung.com>
Mon, 4 Jul 2022 04:20:55 +0000 (13:20 +0900)
committerTae-Young Chung <ty83.chung@samsung.com>
Mon, 4 Jul 2022 04:21:01 +0000 (13:21 +0900)
[Version] 1.0.5-0
[Issue type] bug fix

Change-Id: Icc76c2309cbeda584c4b41f8b2fac4897d8ecef0
Signed-off-by: Tae-Young Chung <ty83.chung@samsung.com>
include/dfs_parameter.h
packaging/dfs-adaptation.spec

index dfcf95a966724f5230286c55de1b92a87135f16f..775998c1275930198fcec2ce0f2986bf630c09e0 100644 (file)
@@ -36,7 +36,7 @@ namespace DfsAdaptation
                {
                        textureThreshold = 1;
                        aggregationWindowWidth = 10;
-                       aggregationWindowWidth = 10;
+                       aggregationWindowHeight = 10;
                        maxSpeckleSize = 10;
                }
        };
@@ -54,7 +54,7 @@ namespace DfsAdaptation
 
         DfsData()
         {
-            data = nullptr;
+            data = pointCloudData = nullptr;
             type = 0;
             width = height = stride = 0;
         }
index 6df203c8656ecd09092c73bd34432346bbc29e31..c95ce32932081f83691ca6e4866eb41f82334392 100644 (file)
@@ -1,6 +1,6 @@
 Name:        dfs-adaptation
 Summary:     Adaptation of depth-from-stereo
-Version:     1.0.4
+Version:     1.0.5
 Release:     0
 Group:       Multimedia/Framework
 License:     Apache-2.0