Skip to content
Snippets Groups Projects
Commit d29af2d5 authored by Frank Bossen's avatar Frank Bossen
Browse files

Fix compile issue with clang 11 compiler

parent a6887373
No related branches found
No related tags found
No related merge requests found
......@@ -101,7 +101,6 @@ private:
static const int m_gauss5x5[5][5]; // Gauss 5x5 kernel, integer approximation
unsigned int m_convWidthS = 3, m_convHeightS = 3; // Pixel's row and col positions for Sobel filtering
double m_sigma = 1.0; // Gaussian filter sigma
double m_lowThresholdRatio = 0.1; // low threshold rato
int m_highThresholdRatio = 3; // high threshold rato
......
......@@ -413,7 +413,7 @@ void SEIFilmGrainSynthesizer::grainSynthesizeAndBlend(PelStorage* pGrainBuf, boo
uint8_t SEIFilmGrainSynthesizer::grainValidateParams()
{
uint8_t numComp = MAX_NUM_COMPONENT; /* number of color components */
uint8_t compCtr, intensityCtr, multiGrainCheck[MAX_NUM_COMPONENT][MAX_NUM_INTENSITIES] = { 0 };
uint8_t compCtr, intensityCtr, multiGrainCheck[MAX_NUM_COMPONENT][MAX_NUM_INTENSITIES] = { { 0 } };
uint16_t multiGrainCtr;
uint8_t limitCompModelVal1[10] = { 0 }, limitCompModelVal2[10] = { 0 };
uint8_t num_comp_model_pairs = 0, limitCompModelCtr, compPairMatch;
......@@ -1265,4 +1265,4 @@ uint32_t SEIFilmGrainSynthesizer::fgsSimulationBlending_32x32(fgsProcessArgs *in
return FGS_SUCCESS;
}
#endif
\ No newline at end of file
#endif
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment