Message ID | 20230708212530.109692-12-michael@niedermayer.cc |
---|---|
State | New |
Headers | show
Delivered-To: ffmpegpatchwork2@gmail.com Received: by 2002:a05:6a20:6d25:b0:130:f365:34ad with SMTP id fv37csp663289pzb; Sat, 8 Jul 2023 14:26:40 -0700 (PDT) X-Google-Smtp-Source: APBJJlEjUyd8wEL7/qfn2ffo0nZ5cO8lDd2mZGy4IrKbBbCCE+ZUxXKnH4emBDHhpL7xWC5XRpnz X-Received: by 2002:a5d:5301:0:b0:314:44c8:aa98 with SMTP id e1-20020a5d5301000000b0031444c8aa98mr8945154wrv.67.1688851600684; Sat, 08 Jul 2023 14:26:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1688851600; cv=none; d=google.com; s=arc-20160816; b=wdTmkYJOeeaRkD0BzYAhZzsSv0gGbgDnuRqqe/McfnwLAKYwppuG+aNWEtaOdjxOXz Bq6BTgudSaLtq6p5N0yjNgMkdogTlgbuGT89bvTiK9LDUUxpjtptOOOufGdpj1IqfpTS d4GQTL7Fg86WJYxrmaLr7ZGMzZtQ87KnhfDgzr6jhpofP66DPp/oHln9cGn/lZXVOEZ9 lMcraCOfeoHxx0C4TNRqUYqsp0ZNagACmKII9ESknjPWk5yzeWg9/+XlFkYGewfdkQGb my6VV3GX5bGKdIeFBCWbQy72gDcX/V3Yuw+bQXmOIUgj3Cd0NVfCVYXiB1ZGF5gk/Cuo 3wmw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:reply-to:list-subscribe :list-help:list-post:list-archive:list-unsubscribe:list-id :precedence:subject:mime-version:references:in-reply-to:message-id :date:to:from:delivered-to; bh=cEKOITHiZoZGLgQocZFA8Dn8S7e5YAJr2f6QdLO8Esg=; fh=YYwLYmpaV0Fpw/rxmSKNRLS2XzDkAlGbHATiKOPtZrY=; b=F0/DuEDx+12xx/Bc3H7lxsBqrEQNF8aWjE3YRgEZMVtKPDHdirYe6jHNphDueubdUL eE72FrmtsEH5lkhoWpZKRfijT+U1MHJJcxZJiSb/qVrAY3tdPYPfhBOYF+4xQRUZVZA0 nl4QTUh3qJnGX1vbfcWIHKJQrInNjKRDH9TsDHV8KnHz/uEuPv2AycwqK0/4s4R+w+69 2wZZPO/HwCg4nFy2PraicPB40HoO6Icy4nEvdU7VqcUnYVQt8G0pcHcpahZZStiXz5j2 nkPwjf72gFD7e5crf9vNJiMl8iT70PFnf5ztPypWIagVKJxUflaMPNYJnfaSl8IkO2GY kyog== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of ffmpeg-devel-bounces@ffmpeg.org designates 79.124.17.100 as permitted sender) smtp.mailfrom=ffmpeg-devel-bounces@ffmpeg.org Return-Path: <ffmpeg-devel-bounces@ffmpeg.org> Received: from ffbox0-bg.mplayerhq.hu (ffbox0-bg.ffmpeg.org. [79.124.17.100]) by mx.google.com with ESMTP id rv25-20020a17090710d900b00992bbbb019dsi4508186ejb.119.2023.07.08.14.26.40; Sat, 08 Jul 2023 14:26:40 -0700 (PDT) Received-SPF: pass (google.com: domain of ffmpeg-devel-bounces@ffmpeg.org designates 79.124.17.100 as permitted sender) client-ip=79.124.17.100; Authentication-Results: mx.google.com; spf=pass (google.com: domain of ffmpeg-devel-bounces@ffmpeg.org designates 79.124.17.100 as permitted sender) smtp.mailfrom=ffmpeg-devel-bounces@ffmpeg.org Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id 0B11C68C56E; Sun, 9 Jul 2023 00:25:47 +0300 (EEST) X-Original-To: ffmpeg-devel@ffmpeg.org Delivered-To: ffmpeg-devel@ffmpeg.org Received: from relay7-d.mail.gandi.net (relay7-d.mail.gandi.net [217.70.183.200]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id B244168C553 for <ffmpeg-devel@ffmpeg.org>; Sun, 9 Jul 2023 00:25:43 +0300 (EEST) X-GND-Sasl: michael@niedermayer.cc Received: by mail.gandi.net (Postfix) with ESMTPSA id 1046320002 for <ffmpeg-devel@ffmpeg.org>; Sat, 8 Jul 2023 21:25:42 +0000 (UTC) From: Michael Niedermayer <michael@niedermayer.cc> To: FFmpeg development discussions and patches <ffmpeg-devel@ffmpeg.org> Date: Sat, 8 Jul 2023 23:25:24 +0200 Message-Id: <20230708212530.109692-12-michael@niedermayer.cc> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20230708212530.109692-1-michael@niedermayer.cc> References: <20230708212530.109692-1-michael@niedermayer.cc> MIME-Version: 1.0 Subject: [FFmpeg-devel] [PATCH 12/18] avradio/sdrdemux: Set AVFMTCTX_NOHEADER X-BeenThere: ffmpeg-devel@ffmpeg.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: FFmpeg development discussions and patches <ffmpeg-devel.ffmpeg.org> List-Unsubscribe: <https://ffmpeg.org/mailman/options/ffmpeg-devel>, <mailto:ffmpeg-devel-request@ffmpeg.org?subject=unsubscribe> List-Archive: <https://ffmpeg.org/pipermail/ffmpeg-devel> List-Post: <mailto:ffmpeg-devel@ffmpeg.org> List-Help: <mailto:ffmpeg-devel-request@ffmpeg.org?subject=help> List-Subscribe: <https://ffmpeg.org/mailman/listinfo/ffmpeg-devel>, <mailto:ffmpeg-devel-request@ffmpeg.org?subject=subscribe> Reply-To: FFmpeg development discussions and patches <ffmpeg-devel@ffmpeg.org> Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" <ffmpeg-devel-bounces@ffmpeg.org> X-TUID: U8HoUgeoM33M |
Series |
[FFmpeg-devel,01/18] avradio/sdrdemux: Fix uninitialized access
|
expand
|
Context | Check | Description |
---|---|---|
yinshiyou/configure_loongarch64 | warning | Failed to apply patch |
andriy/configure_x86 | warning | Failed to apply patch |
diff --git a/libavradio/sdrdemux.c b/libavradio/sdrdemux.c index 2bce1045f4..1c77583fd4 100644 --- a/libavradio/sdrdemux.c +++ b/libavradio/sdrdemux.c @@ -1425,6 +1425,7 @@ int ff_sdr_common_init(AVFormatContext *s) float scale = 1.0 / sdr->sample_scale; sdr->avfmt = s; + s->ctx_flags |= AVFMTCTX_NOHEADER; if (sdr->width>1 && sdr->height>1) { /* video stream */
This is needed as stations may not be detected immedeately Signed-off-by: Michael Niedermayer <michael@niedermayer.cc> --- libavradio/sdrdemux.c | 1 + 1 file changed, 1 insertion(+)