diff --git a/camera_hdf/hdi_impl/src/dstream_operator/dstream_operator.cpp b/camera_hdf/hdi_impl/src/dstream_operator/dstream_operator.cpp index 8bef3f5..fb0e2d9 100644 --- a/camera_hdf/hdi_impl/src/dstream_operator/dstream_operator.cpp +++ b/camera_hdf/hdi_impl/src/dstream_operator/dstream_operator.cpp @@ -605,7 +605,7 @@ void DStreamOperator::ConvertStreamInfo(std::shared_ptr &srcInfo, st dstInfo->type_ = DCStreamType::SNAPSHOT_FRAME; if (dstInfo->encodeType_ == ENCODE_TYPE_JPEG) { dstInfo->format_ = OHOS_CAMERA_FORMAT_JPEG; - } else if (dstInfo->encodeType_ == ENCODE_TYPE_NULL){ + } else if (dstInfo->encodeType_ == ENCODE_TYPE_NULL) { dstInfo->format_ = OHOS_CAMERA_FORMAT_YCRCB_420_SP; } } else {