From patchwork Fri Apr 24 11:09:12 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: vectronic X-Patchwork-Id: 19212 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 302B344B56D for ; Fri, 24 Apr 2020 14:10:29 +0300 (EEST) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id 0910468C13C; Fri, 24 Apr 2020 14:10:29 +0300 (EEST) X-Original-To: ffmpeg-devel@ffmpeg.org Delivered-To: ffmpeg-devel@ffmpeg.org Received: from mail-wm1-f49.google.com (mail-wm1-f49.google.com [209.85.128.49]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id B31EC68BB2A for ; Fri, 24 Apr 2020 14:10:22 +0300 (EEST) Received: by mail-wm1-f49.google.com with SMTP id x4so10006655wmj.1 for ; Fri, 24 Apr 2020 04:10:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=KIiVxAMcrddf7xVZec527O//enElixr4TmmoygdSpCk=; b=LpT5IY/D+IJfaKCpg6xIdF/v1xCy6gbCM6cisyM4Pq4Jbkq1QhO77PXfBubO0nxL5B 6e4PZL8J1m/uWQpG7BOnLZzOO5B3GYlaOdQhtrnR5koOGFhLK4/UVYKtdvPtF7L57Mbf S6UKpgQrtEkX+UhCDEYrhTkgL6Ztf5ChvwUg84Ts1dZ+l/BAS+hROf96EajMl1R63LfW LmEhj/w9cy3xccYTcxJigt+N0BEeyHt67/zoSyXkswEW4zCiIuOHSqgYZeF/iD2fpx2X w1tY6KUg3Cxee/OLa2FexwYBR8+hsH8NScH3Rn38GXEFv6oGVmInYxvGv2IlQhHViXqt aSdQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=KIiVxAMcrddf7xVZec527O//enElixr4TmmoygdSpCk=; b=Nj+ixj0TVoodMfxegnIbQ6/396oCfwUh9fknnjHyihBDIK9D0VggY1JI5Cx0r4a9Iw 0CFlX8RQZ9AY7iRTauuo2nsPlll5c+dY0WJDNg+u6uHpnnXMqCi/h7yZlklmUHVDcb+3 uqx37353iuGK3o2mAXsB9AU9f7sswP4+Q1Lev/Wvl34V4u4o55Dkb0zdERhhu8VeX+XW kcYVb4Z+2FBI9j9zEbd9Uqy4VyZo3Z85qeGP6iCAzHpir2FeT8da+Wimr6G+wm/9rEQr EXy+BCY0rokVybY6ZK8CFssenDTsqEpGZoXWx6nZnLJhDP+bfq/4x+tUM4qxvpJNtgPI 1MQQ== X-Gm-Message-State: AGi0Pub5sgsM3MxeCyr2t78uhLgizF/aD7+IzRcdOs1CuXS3Mm6oNsB9 yS0vfGgmaQKfPp3e3piYAl+vhl+fExA= X-Google-Smtp-Source: APiQypLM5KtY1LYoIRJCHAZzfE+E8yKwJYMNDlYXS1CdLZmqhMQ8wcP0dbBnvtRbG6Y064fw5zfaGg== X-Received: by 2002:a1c:5a41:: with SMTP id o62mr9335631wmb.43.1587726621743; Fri, 24 Apr 2020 04:10:21 -0700 (PDT) Received: from localhost.localdomain (cpc76904-dals22-2-0-cust471.20-2.cable.virginm.net. [81.106.45.216]) by smtp.gmail.com with ESMTPSA id k6sm2556541wma.19.2020.04.24.04.10.20 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Fri, 24 Apr 2020 04:10:21 -0700 (PDT) From: vectronic To: ffmpeg-devel@ffmpeg.org Date: Fri, 24 Apr 2020 12:09:12 +0100 Message-Id: <20200424110913.47435-1-hello.vectronic@gmail.com> X-Mailer: git-send-email 2.24.2 (Apple Git-127) MIME-Version: 1.0 Subject: [FFmpeg-devel] [PATCH 0/1] avformat/http: handle SEEK_SET to filesize and fix #6885 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 Cc: vectronic Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" if whence == SEEK_SET and offset is filesize and is_streamable is false we can just return the filesize to prevent an HTTP 416 error Fixes https://trac.ffmpeg.org/ticket/6885 vectronic (1): avformat/http: handle SEEK_SET to filesize libavformat/http.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)