diff mbox series

[FFmpeg-devel,2/2] avformat/dashdec: bump maximum manifest size to 4 megabytes

Message ID 20200901174547.25463-2-jeebjp@gmail.com
State New
Headers show
Series [FFmpeg-devel,1/2] avformat/dashdec: enable overriding of the maximum manifest size | expand

Checks

Context Check Description
andriy/default pending
andriy/make success Make finished
andriy/make_fate success Make fate finished

Commit Message

Jan Ekström Sept. 1, 2020, 5:45 p.m. UTC
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 mbox series

Patch

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 {