diff options
Diffstat (limited to 'player/external_files.c')
-rw-r--r-- | player/external_files.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/player/external_files.c b/player/external_files.c index dfd1ca6802..eb7345ac84 100644 --- a/player/external_files.c +++ b/player/external_files.c @@ -176,7 +176,7 @@ static void append_dir_subtitles(struct mpv_global *global, prio += prio; char *subpath = mp_path_join_bstr(*slist, path, dename); if (mp_path_exists(subpath)) { - MP_GROW_ARRAY(*slist, *nsub); + MP_TARRAY_GROW(NULL, *slist, *nsub); struct subfn *sub = *slist + (*nsub)++; // annoying and redundant |