|
From: | Paul Miller |
Subject: | Re: [Openexr-devel] Non initialized array |
Date: | Tue, 22 Nov 2016 09:55:54 -0600 |
User-agent: | Mozilla/5.0 (Windows NT 6.2; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.4.0 |
On 11/22/2016 8:28 AM, Michel Lerenard wrote:
The lineSampleCount array is never reset. The code calls _data->lineSampleCount.resizeErase(_data->maxY - _data->minY + 1); in initialize(), then in the execute function of the buffer task, we increment the values of the cells, although they have never been set to zero !
Doesn't "resizeErase" also set to zero?
[Prev in Thread] | Current Thread | [Next in Thread] |