Skip to content

Commit

Permalink
Avoid FAST_FAIL_RANGE_CHECK_FAILURE at preset enumeration (#974)
Browse files Browse the repository at this point in the history
  • Loading branch information
hmartinez82 committed Mar 10, 2024
1 parent 7930382 commit ab761ae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/framework/mlt_repository.c
Original file line number Diff line number Diff line change
Expand Up @@ -581,7 +581,7 @@ static void list_presets(mlt_properties properties, const char *path, const char
// load the preset
mlt_properties preset = mlt_properties_load(fullname);
if (preset && mlt_properties_count(preset)) {
snprintf(fullname, 1024, "%s/%s", path, de->d_name);
snprintf(fullname, sizeof(fullname), "%s/%s", path, de->d_name);
mlt_properties_set_data(properties,
fullname,
preset,
Expand Down

0 comments on commit ab761ae

Please sign in to comment.