Commit c4cd4b27 authored by David Flynn's avatar David Flynn
Browse files

geometry/bypass: fix crash with empty reconstructedDataPath

This commit fixes a null pointer dereference in cases where no
reconstructed point cloud output is specified.
parent 81011d27
......@@ -240,6 +240,7 @@ class PCCTMC3Encoder3 {
}
if (params.geometryCodec == GeometryCodecType::kBypass) {
if (reconstructedCloud)
*reconstructedCloud = pointCloud;
}
else {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment