From patchwork Tue Sep 1 17:45:47 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: =?utf-8?q?Jan_Ekstr=C3=B6m?= X-Patchwork-Id: 22053 Return-Path: X-Original-To: patchwork@ffaux-bg.ffmpeg.org Delivered-To: patchwork@ffaux-bg.ffmpeg.org Received: from ffbox0-bg.mplayerhq.hu (ffbox0-bg.ffmpeg.org [79.124.17.100]) by ffaux.localdomain (Postfix) with ESMTP id 6F674444BC2 for ; Tue, 1 Sep 2020 20:52:49 +0300 (EEST) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id 2AF3F68B27D; Tue, 1 Sep 2020 20:52:49 +0300 (EEST) X-Original-To: ffmpeg-devel@ffmpeg.org Delivered-To: ffmpeg-devel@ffmpeg.org Received: from mail-lj1-f171.google.com (mail-lj1-f171.google.com [209.85.208.171]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id E478E688368 for ; Tue, 1 Sep 2020 20:52:42 +0300 (EEST) Received: by mail-lj1-f171.google.com with SMTP id a15so2632737ljk.2 for ; Tue, 01 Sep 2020 10:52:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:subject:date:message-id:in-reply-to:references:mime-version :content-transfer-encoding; bh=oRr2SEubcrhz2IZPcxfYFCR4g2lvy+FrYPJn6Smcc9c=; b=AzrRrCR0jHRDCMUkpik5sGkmQvauUFyEXqhNDTiYfxcAe7dMsl3wrFXCZcOcIXONZ7 ZfFkYCXBkrNplTh2QfCnl5AJq4+yaL16HJ6HzDF61CDsiChCMlAGlrSx4wyZ2bOwN0mY nsrdDlAPNVeJPPmnGWJvGFLEMC3g0Vjlh3BWEWr3yJmhO2PvUFOBkn9phsSN8ygUTPYi bGlKAiSXvnW2efkpDySOEe15eynYU/fxDboqeidD5toIr44mjNXcPMlJYOAcXmkqwOoB CYUgUD8bAvaokC8h4qo8zMNm5/+NMEeUD7cqlcwQMlfv4O3341Sl1PJynYA3kn5hDbPL LsZg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=oRr2SEubcrhz2IZPcxfYFCR4g2lvy+FrYPJn6Smcc9c=; b=hvHmGADyjHcwyClV7V7Ed8ahRpxiaMVux942M+vs7w94/klvKrUuuBDJhB9epuHUyA PsrXfXvbT//IM5DJmH1cmscz8ZlRV/z29ihPDjh3GNOTYBS73dP9QbaZBSbR5W0Fl2OZ jffuEDF6P1rio/QRknEJN36TNL9J3w0mHv5Ed3WBiU+5BK6Sa53OyXXn/mQzchGBO2Ml ccDYyvXI2i1Atbtym6882FwAwL+sA/t/b7fFDUWS4fy/mAlyjc7h0FjK9uVjD/8OV0+c //LjK/aO4WQqV7M3oFmzAqNNpC4QXiD6LYcxSNOdz2febN9xCh+7c4CMnoaaAi9x+rnV jORg== X-Gm-Message-State: AOAM531g0u8v21Oods4fb7oxaANz41oo78jnoFJl/c9zX/JH2ExkiFLF FF9YEC+pN4TLmHQ3mdmG7Ouf2M6uVxA= X-Google-Smtp-Source: ABdhPJx1kO7/qxvVIxF8EI7nqLNJDgCTNNllw1Fu5Xyh5tn7y8bx7RqHN9h/SeUD5pyvhkJyyAOUzA== X-Received: by 2002:a2e:3a10:: with SMTP id h16mr1161291lja.193.1598982349503; Tue, 01 Sep 2020 10:45:49 -0700 (PDT) Received: from localhost.localdomain (91-159-194-103.elisa-laajakaista.fi. [91.159.194.103]) by smtp.gmail.com with ESMTPSA id x17sm405116lja.10.2020.09.01.10.45.48 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 01 Sep 2020 10:45:49 -0700 (PDT) From: =?utf-8?q?Jan_Ekstr=C3=B6m?= To: ffmpeg-devel@ffmpeg.org Date: Tue, 1 Sep 2020 20:45:47 +0300 Message-Id: <20200901174547.25463-2-jeebjp@gmail.com> X-Mailer: git-send-email 2.26.2 In-Reply-To: <20200901174547.25463-1-jeebjp@gmail.com> References: <20200901174547.25463-1-jeebjp@gmail.com> MIME-Version: 1.0 Subject: [FFmpeg-devel] [PATCH 2/2] avformat/dashdec: bump maximum manifest size to 4 megabytes X-BeenThere: ffmpeg-devel@ffmpeg.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: FFmpeg development discussions and patches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: FFmpeg development discussions and patches Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" 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 {