diff options
author | David Vaughan <david@davidv.xyz> | 2024-02-13 13:24:58 -0800 |
---|---|---|
committer | Dudemanguy <random342@airmail.cc> | 2024-02-26 02:03:21 +0000 |
commit | c678033c1d60b48ae02fbbe4815869b9504a17f6 (patch) | |
tree | d3a8c7482a4568f648dc422d93a1fb7010f7652a /common/playlist.c | |
parent | da753196af6593b2d6e94f691c9d1287b3ea093b (diff) | |
download | mpv-c678033c1d60b48ae02fbbe4815869b9504a17f6.tar.bz2 mpv-c678033c1d60b48ae02fbbe4815869b9504a17f6.tar.xz |
input/player: add loadfile/loadlist insert-at command
Diffstat (limited to 'common/playlist.c')
-rw-r--r-- | common/playlist.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/common/playlist.c b/common/playlist.c index 5ff34496c8..39c49a5230 100644 --- a/common/playlist.c +++ b/common/playlist.c @@ -312,8 +312,8 @@ void playlist_set_stream_flags(struct playlist *pl, int flags) pl->entries[n]->stream_flags = flags; } -static int64_t playlist_transfer_entries_to(struct playlist *pl, int dst_index, - struct playlist *source_pl) +int64_t playlist_transfer_entries_to(struct playlist *pl, int dst_index, + struct playlist *source_pl) { assert(pl != source_pl); struct playlist_entry *first = playlist_get_first(source_pl); |