File tree 1 file changed +3
-3
lines changed
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 22 * GPAC - Multimedia Framework C SDK
33 *
44 * Authors: Jean Le Feuvre
5- * Copyright (c) Telecom ParisTech 2005-2022
5+ * Copyright (c) Telecom ParisTech 2005-2023
66 * All rights reserved
77 *
88 * This file is part of GPAC / LASeR codec sub-project
@@ -1539,8 +1539,8 @@ static void lsr_read_rare_full(GF_LASeRCodec *lsr, GF_Node *n)
15391539 } else {
15401540 da -> type = SVG_STROKEDASHARRAY_ARRAY ;
15411541 da -> array .count = lsr_read_vluimsbf5 (lsr , "len" );
1542- da -> array .vals = (Fixed * )gf_malloc ( sizeof (Fixed )* da -> array .count );
1543- da -> array .units = (u8 * )gf_malloc ( sizeof (u8 )* da -> array .count );
1542+ da -> array .vals = (Fixed * )gf_realloc ( da -> array . vals , sizeof (Fixed )* da -> array .count );
1543+ da -> array .units = (u8 * )gf_realloc ( da -> array . units , sizeof (u8 )* da -> array .count );
15441544 if (!da -> array .vals || !da -> array .units ) {
15451545 lsr -> last_error = GF_OUT_OF_MEM ;
15461546 return ;
You can’t perform that action at this time.
0 commit comments