From patchwork Sat Feb 5 12:31:48 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lance Wang X-Patchwork-Id: 34137 Delivered-To: ffmpegpatchwork2@gmail.com Received: by 2002:a05:6602:2c4e:0:0:0:0 with SMTP id x14csp4245868iov; Sat, 5 Feb 2022 04:32:23 -0800 (PST) X-Google-Smtp-Source: ABdhPJwBg/3mmQTMgm8XtVYJspeqa+/V0eR1qBW8OkRdFWPDpUf13qxVPxA82sMrqqu1WPdP5+U5 X-Received: by 2002:a17:907:160d:: with SMTP id hb13mr2884527ejc.173.1644064343229; Sat, 05 Feb 2022 04:32:23 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1644064343; cv=none; d=google.com; s=arc-20160816; b=mJ6da3g5qLpeLSngKhtlTy/iwI3C0gaVGaHhFl1XiMSGe25GVibouqmHVUpj8pUsPq BY/4tWzqqe3iJZ8/ek4j3e8KnOAQIWQRiXA+lnNNd9sgCXrEzCMwACKyELKSGDkebifZ 0mUIoRkQH3cIqSL9x1+Ub1sqz2tWLmBaUtPtm/8VnwL4QLitVVkv4te/sKNZMeJT1LNH VeBLf9eGcLurCfCak9JEVtaYvH055CfjCrUas0yQKupHI1wVT7YJs38HMFYqSzQw9uHr nht33uw8ULmpwUoZQnb+TWMWgl3z4365Wa69z6n30WNVwBsDCv1KVrUZbdLL7XuQRPd9 jRNw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:mime-version:cc:reply-to :list-subscribe:list-help:list-post:list-archive:list-unsubscribe :list-id:precedence:subject:references:in-reply-to:message-id:date :to:from:dkim-signature:delivered-to; bh=SgEJL9A1OJNkiqVSPOwulaiyFmlF+1X4MTbkGf2xyi8=; b=WwemormV14mGVhV5JToM3UHLXDMqQkPMhPvAaek9/yRJlCLvO+2jmn4HSl0mmlS0Sz ujGKrLW4QLaSTob8rHGiPCFuE56mTm8OSmRGJXxRMahC21AGZtMPq8zXXP5/toTjtzKU Ro49LDozrTYxjIzyVyIDLBpBHKu2eqgv8SNvSK7ft6nn7fh1hEx5xPhl2dv/FlXd4fqR hCWj+We21QFHIr1OEzoTN/xh2SI1FLk5m1S/fdEk8e8TzsK/h3HWU8P4IqM1QTxIsmAt 5Sv52FTCm8TCLyHNei2PC9CX6bR0up0UTkbwRVJAiQnxw1BUP8UZ7FK9ezh2wZXJjzO5 VcUQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20210112 header.b=JJ5Xqq6j; 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; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from ffbox0-bg.mplayerhq.hu (ffbox0-bg.ffmpeg.org. [79.124.17.100]) by mx.google.com with ESMTP id oz40si3373326ejc.742.2022.02.05.04.32.22; Sat, 05 Feb 2022 04:32:23 -0800 (PST) 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; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20210112 header.b=JJ5Xqq6j; 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; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id C588A68B382; Sat, 5 Feb 2022 14:32:03 +0200 (EET) X-Original-To: ffmpeg-devel@ffmpeg.org Delivered-To: ffmpeg-devel@ffmpeg.org Received: from mail-pj1-f44.google.com (mail-pj1-f44.google.com [209.85.216.44]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 2738468B373 for ; Sat, 5 Feb 2022 14:31:57 +0200 (EET) Received: by mail-pj1-f44.google.com with SMTP id z14-20020a17090ab10e00b001b6175d4040so15665362pjq.0 for ; Sat, 05 Feb 2022 04:31:57 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=H18pvxNPo7x5NTlAqe87+ZH5ueIgk3NY0k9ws87iyg0=; b=JJ5Xqq6jc/gw/IW4gLbTXSQVbnZdvGvvRtjvox5jocg1EK8fiuQW/UK5PxP/KO4Qrh LyTycF2uaoywB+qHZfNm8xksNcAD19fJThH18IghH41E72dqTbl+2+cuOoqEclQqTThL AVIseMUr+T8YFIcv/gCaLms8WqJXXYiJV8Mpta3JUla8IQzeLPYuhBrx0Q3XDIR5ynKo 3JrRw99YFQXgQdZkK0aBhpm3FM15QJ+LPzbTGVP3qPjrGVL5/zY1IVpZkWn1kFHvgKzH 4oJMCMiJy8GTgFe2PcyS7DQCRCBhi6OuyVj9T4wMnmBmOpRDLz/cNjmRKxmZhduUEDST 4YzQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=H18pvxNPo7x5NTlAqe87+ZH5ueIgk3NY0k9ws87iyg0=; b=8OeIWRpIDZQqorqB5m0dVgv7DKZ4iKPjXAWUB1FgcGdAYdTUDPDrSoa+Vyx0jD9V/U 4/K4ZAav3oV+g3D5x8J9m/2nnlYUm5vQe7LkCKtNm/DLZcPBInPBFBQJNve1OLFr1xrV EQ9jI95a50yVLXoUUT6KY8SCRnaeGY1VaEwWyMHleU3mHegZOd4QKNUckSb6Svj+Z93C YdNgsLFUNw6/xjJsL5EExGe8em0Y24r1Nl1Qv2ulOYq5lm26i7jWyMOMGDqxlkeA9IYu iVIWK4/4o9XDNRA5mixYW5Rt1cxe9JgzwsSd2cUSSfakZWFhp89bSnjuKC8XeX+SM/IJ p6Cg== X-Gm-Message-State: AOAM530ElUlSvXiJvLNLsows3KEkQCz38/CwkTChNp8u4Z3E/tCvhb4F GowUdzNpxJJu7YILTYYz0MTAD86mlNI= X-Received: by 2002:a17:903:188:: with SMTP id z8mr7958726plg.119.1644064315443; Sat, 05 Feb 2022 04:31:55 -0800 (PST) Received: from vpn2.localdomain ([161.117.202.209]) by smtp.gmail.com with ESMTPSA id y27sm3986736pga.22.2022.02.05.04.31.54 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Sat, 05 Feb 2022 04:31:54 -0800 (PST) From: lance.lmwang@gmail.com To: ffmpeg-devel@ffmpeg.org Date: Sat, 5 Feb 2022 20:31:48 +0800 Message-Id: <1644064308-21729-3-git-send-email-lance.lmwang@gmail.com> X-Mailer: git-send-email 1.8.3.1 In-Reply-To: <1644064308-21729-1-git-send-email-lance.lmwang@gmail.com> References: <1643260580-25792-1-git-send-email-lance.lmwang@gmail.com> <1644064308-21729-1-git-send-email-lance.lmwang@gmail.com> Subject: [FFmpeg-devel] [PATCH v3 3/3] avformat/udp: remove IPPROTO_IPV6 macro X-BeenThere: ffmpeg-devel@ffmpeg.org X-Mailman-Version: 2.1.29 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: Limin Wang MIME-Version: 1.0 Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" X-TUID: K7rFEHe2vO4v From: Limin Wang Signed-off-by: Limin Wang --- libavformat/udp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavformat/udp.c b/libavformat/udp.c index 1871acf..9f6ab1b 100644 --- a/libavformat/udp.c +++ b/libavformat/udp.c @@ -175,7 +175,7 @@ static int udp_set_multicast_ttl(int sockfd, int mcastTTL, cmd = IP_MULTICAST_TTL; break; #endif -#if defined(IPPROTO_IPV6) && defined(IPV6_MULTICAST_HOPS) +#ifdef IPV6_MULTICAST_HOPS case AF_INET6: protocol = IPPROTO_IPV6; cmd = IPV6_MULTICAST_HOPS;