From patchwork Thu Oct 8 13:49:40 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andreas Rheinhardt X-Patchwork-Id: 22756 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 965FF44B6AA for ; Thu, 8 Oct 2020 16:58:13 +0300 (EEST) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id 6C9AA68B7EB; Thu, 8 Oct 2020 16:58:13 +0300 (EEST) X-Original-To: ffmpeg-devel@ffmpeg.org Delivered-To: ffmpeg-devel@ffmpeg.org Received: from mail-wm1-f67.google.com (mail-wm1-f67.google.com [209.85.128.67]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 4816968B7EB for ; Thu, 8 Oct 2020 16:58:07 +0300 (EEST) Received: by mail-wm1-f67.google.com with SMTP id p15so6557109wmi.4 for ; Thu, 08 Oct 2020 06:58:07 -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=aUlogjg2HKxjzuXjqUPQIS8eOM4GMBXFucgYgC69dDM=; b=rjCCiq/vCcWl+T5prA63tZo5+iLjoTTtjqkoOB35g8uzEWKSrWfVJsq5/y5hOvMDP9 Y45emdXSG/ZIOOLMPOC8I0oC4SlvQDbIZ/jV6ng2DjqNm1LWxWypK9J1xVbNiHM/2oFR j9uRfE0b002MeB/erxnFXTNzfKI2pS6m1FNBsg05h19t+POK6cbtI40l6Nzp7Z70f1Yl PdwJOm3Vrp9qmUrKxzUHcc/GNT0FiDdrQaTbP2htLlbdg88oOS7MZUP77Wdd3IdYSNY4 blDH41RWCmqZ/Jrxpn8jpet7OH45/qYGywd4mIAn1HMEnPfEdwTVScWy1DEo2Sm+JvaX RvGQ== 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=aUlogjg2HKxjzuXjqUPQIS8eOM4GMBXFucgYgC69dDM=; b=FLXjkq02lOv3S+cZQKJOHeOdQivCitcVTnty21JjFo6nGD3a3VcoyMyjrj1oygZuhC pTLActy60uFrz/A682zpwURtOQZFIU/LIeCFyWys9ila+Te4VXDdrul+UfjgtHnmyIJ0 PZgK4GQ+Y/JWXKt4HZqlcxM67vIvfeQBfnmyo4xA8iYuCEA8jTDN01o+B/wv8j22xNA/ DfQpHX4T4wkX3mGiSe7OMxwxbaXtU4dEdL+/KZFKTpxk1+gvs/w7x/PdHj0OmYUj5oU0 sV2PXLK0R7hizo89rUiLhSsbq/tyMD3/D5bBdJWfWu9tgSGqkg5mqYTJDQ0fXltin2eF TDVQ== X-Gm-Message-State: AOAM531eyx+O45FQHgsSA3g4CyY5MlR/N5tvykPmUHwxvZXCtqBn3SUb JJgoKCDugHZ6SqAg568EzZNB1g0IMrA= X-Google-Smtp-Source: ABdhPJwQwci094/nIfsCvx/JqdI84AmnqvpykVPX91fpcIJTRsiehBh1DaCt4+dRyxOr3gHtbDsIXA== X-Received: by 2002:a1c:9a41:: with SMTP id c62mr8813834wme.35.1602164985949; Thu, 08 Oct 2020 06:49:45 -0700 (PDT) Received: from sblaptop.fritz.box (ipbcc1aa4b.dynamic.kabel-deutschland.de. [188.193.170.75]) by smtp.gmail.com with ESMTPSA id h4sm7420030wrv.11.2020.10.08.06.49.45 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 08 Oct 2020 06:49:45 -0700 (PDT) From: Andreas Rheinhardt To: ffmpeg-devel@ffmpeg.org Date: Thu, 8 Oct 2020 15:49:40 +0200 Message-Id: <20201008134940.14098-1-andreas.rheinhardt@gmail.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Subject: [FFmpeg-devel] [PATCH] avformat/libopenmpt: Don't discard const 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: Andreas Rheinhardt Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" Signed-off-by: Andreas Rheinhardt --- libavformat/libopenmpt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavformat/libopenmpt.c b/libavformat/libopenmpt.c index 52511aba56..b07da5f078 100644 --- a/libavformat/libopenmpt.c +++ b/libavformat/libopenmpt.c @@ -218,7 +218,7 @@ static int read_seek_openmpt(AVFormatContext *s, int stream_idx, int64_t ts, int return 0; } -static int probe_openmpt_extension(AVProbeData *p) +static int probe_openmpt_extension(const AVProbeData *p) { const char *ext; if (p->filename) {