[FFmpeg-devel] [PATCH 2/2] avformat/dashdec: bump maximum manifest size to 4 megabytes
Jan Ekström
jeebjp at gmail.com
Tue Sep 1 20:45:47 EEST 2020
This is absurdly large, but unfortunately a ~2 hour Youtube
live stream archive can still be around 3.2 megabytes when
requested as MPEG-DASH.
---
libavformat/dashdec.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavformat/dashdec.c b/libavformat/dashdec.c
index bea9616f4a..a7729e6380 100644
--- a/libavformat/dashdec.c
+++ b/libavformat/dashdec.c
@@ -29,7 +29,7 @@
#include "dash.h"
#define INITIAL_BUFFER_SIZE 32768
-#define MAX_MANIFEST_SIZE 50 * 1024
+#define MAX_MANIFEST_SIZE (4 * 1024 * 1024)
#define DEFAULT_MANIFEST_SIZE 8 * 1024
struct fragment {
--
2.26.2
More information about the ffmpeg-devel
mailing list