Fix pointer to pointer passed where single pointer is expected (VSE versioning)

This commit is contained in:
Julian Eisel 2022-06-30 18:42:22 +02:00
parent 65166e145b
commit e7c58941b1
1 changed files with 1 additions and 1 deletions

View File

@ -600,7 +600,7 @@ static void seq_speed_factor_fix_rna_path(Sequence *seq, ListBase *fcurves)
char name_esc[(sizeof(seq->name) - 2) * 2];
BLI_str_escape(name_esc, seq->name + 2, sizeof(name_esc));
char *path = BLI_sprintfN("sequence_editor.sequences_all[\"%s\"].pitch", name_esc);
FCurve *fcu = BKE_fcurve_find(&fcurves, path, 0);
FCurve *fcu = BKE_fcurve_find(fcurves, path, 0);
if (fcu != NULL) {
MEM_freeN(fcu->rna_path);
fcu->rna_path = BLI_sprintfN("sequence_editor.sequences_all[\"%s\"].speed_factor", name_esc);