mirror of
https://github.com/mpv-player/mpv
synced 2025-01-26 01:23:17 +00:00
av_common: parent mp_get_lavf_demuxer contents to the list
The only usage of this function is freed in mpv's generic property code, so no other changes are needed.
This commit is contained in:
parent
1e1e365c18
commit
406301f23d
@ -265,7 +265,7 @@ char **mp_get_lavf_demuxers(void)
|
||||
const AVInputFormat *cur = av_demuxer_iterate(&iter);
|
||||
if (!cur)
|
||||
break;
|
||||
MP_TARRAY_APPEND(NULL, list, num, talloc_strdup(NULL, cur->name));
|
||||
MP_TARRAY_APPEND(NULL, list, num, talloc_strdup(list, cur->name));
|
||||
}
|
||||
MP_TARRAY_APPEND(NULL, list, num, NULL);
|
||||
return list;
|
||||
|
Loading…
Reference in New Issue
Block a user