From de3ecc60cb5ac39e727d8bd1fe4f9e3499f8e672 Mon Sep 17 00:00:00 2001 From: wm4 Date: Wed, 19 Jun 2019 14:26:53 +0200 Subject: demux_playlist: extend maximum line size Raise it from 8KB to 512KB. Do this because ytdl_hook.lua generated a 40KB EDL file (from 80KB youtube-dl JSON output), and putting it into a .m3u file for easier debugging failed due to the size limit. --- demux/demux_playlist.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'demux/demux_playlist.c') diff --git a/demux/demux_playlist.c b/demux/demux_playlist.c index 2e24f0c6d0..b36e9cdfe1 100644 --- a/demux/demux_playlist.c +++ b/demux/demux_playlist.c @@ -47,7 +47,7 @@ static bool check_mimetype(struct stream *s, const char *const *list) struct pl_parser { struct mp_log *log; struct stream *s; - char buffer[8 * 1024]; + char buffer[512 * 1024]; int utf16; struct playlist *pl; bool error; -- cgit v1.2.3