You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-10 06:10:52 +02:00
avfilter/vf_signature: Initialize all houghspace elements
Co-authored-by: Oscar <oscar_davids@outlook.com>
This commit is contained in:
@@ -200,7 +200,7 @@ static MatchingInfo* get_matching_parameters(AVFilterContext *ctx, SignatureCont
|
||||
/* initialize houghspace */
|
||||
for (i = 0; i < MAX_FRAMERATE; i++) {
|
||||
hspace[i] = av_malloc_array(2 * HOUGH_MAX_OFFSET + 1, sizeof(hspace_elem));
|
||||
for (j = 0; j < HOUGH_MAX_OFFSET; j++) {
|
||||
for (j = 0; j < 2 * HOUGH_MAX_OFFSET + 1; j++) {
|
||||
hspace[i][j].score = 0;
|
||||
hspace[i][j].dist = 99999;
|
||||
}
|
||||
|
Reference in New Issue
Block a user