From patchwork Mon Sep 3 17:27:13 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: anonymous.maarten@gmail.com X-Patchwork-Id: 10222 Delivered-To: ffmpegpatchwork@gmail.com Received: by 2002:a02:12c4:0:0:0:0:0 with SMTP id 65-v6csp2933883jap; Mon, 3 Sep 2018 10:27:39 -0700 (PDT) X-Google-Smtp-Source: ANB0VdZqOotRsMMz8NIXKwnsdLUHjXXhQ8fs9SWozxv0e3yUxBPPdpDPICUZC53lGarj4uufIhEG X-Received: by 2002:a1c:6782:: with SMTP id b124-v6mr292712wmc.30.1535995659846; Mon, 03 Sep 2018 10:27:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1535995659; cv=none; d=google.com; s=arc-20160816; b=AlXjs7x2fPqJKfOFjjnVENxHXTyOW5XEPkd9Fmtx6pf2V1z7G3fSuRzqkENIrKAqR4 8SU6kY1+/RFfsX59IGsTz1nGr7n/4LvCyCXxw5n5hJjAzQg/cEehgJOVo2rti+pLM10R 5c6iuLsywXrXFtgSMgfi3fhzJbA9U9ccWyh6YUlPFBcRTeWtqnSpEJDjkPnDs/Hw7ZWR PcIMDaMz3WzGKl8/fT6VtAI88sIoH0ScHWjD5sZeevzba/Q4QUq5yzOekrbJLpz73who FuAVlSP0PkIxSNd9H9Qa7noxAS0FBeI90w8DPliijJB1CRbuQ0MTqGL//UpeK4rk7nFz 6F8g== 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:message-id:date:to:from:dkim-signature :delivered-to:arc-authentication-results; bh=VeQ6nkHZ7E45wVLFD/YKNreWkXMd1XVkGUG6+xO3ZLQ=; b=xB39cKb0ENH2dlaQY8nkMwWPZCObHj+Bo6b9aZJxH5864onPgNpNS2NsuWfgDgmXAY z1kgWGrJaRVCCH+VXWYu9uo4ecpuh0KEmNCdpEu/LPZSveq7haa7yGhubKoD6NOpVQIe TAaRXHqhnGhImyetG9cPv6bR0Fvkv3AovNwNT8CgO8m8L7Br6+aNu7G5OWQ00hOFkXFQ pJkJ35EPWopYSBY7nN9WRNvwFrCSGeMLU6K1h3MTypyWHap7+750SmuWJbpLWnefcnzf Se+wodQeu3aJ+I/M6cEVMgtsyQbHME3oOAUdcsDfns9MsWjuzrenFb3E1A8Cmk8Wrjuw ks9g== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=HeIiEBfF; 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 h4-v6si15836566wrm.44.2018.09.03.10.27.38; Mon, 03 Sep 2018 10:27:39 -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; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=HeIiEBfF; 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 7EB59680CE0; Mon, 3 Sep 2018 20:27:30 +0300 (EEST) X-Original-To: ffmpeg-devel@ffmpeg.org Delivered-To: ffmpeg-devel@ffmpeg.org Received: from mail-ed1-f48.google.com (mail-ed1-f48.google.com [209.85.208.48]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 4D0B9680CE0 for ; Mon, 3 Sep 2018 20:27:23 +0300 (EEST) Received: by mail-ed1-f48.google.com with SMTP id a20-v6so1303941edd.4 for ; Mon, 03 Sep 2018 10:27:29 -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:reply-to; bh=h6X/diWj72QNeOEcRC3dLy2vaPYThS1onF8+3vqr5rs=; b=HeIiEBfF4VXOLGbt4fvsJIyDeT+yCHMvPRG0XrgJO6dbugmBq6xhDtmsxR1Sx2sgWd 9ybvHeKAfs2cx1kU+falaz5sSbDzIdhyW8jojnoKtC+RH0BmFx5DCunMTasL8+Zc2E+r AyS8XE7psQATTS1UdIOTWFvhk+DukpeM9PkqG/X2vcp4zwd4X9o47JkcbRskG9jFYU4D 9J3mmDTEnlOBQLlOtKRqCuRYxelrJhqH/tc360WiS+9TTox+o/DXrr8hCFg+TW+6OnNF E27kn+OX57bm09xWGAHOi1ASoERUp8rciEuasD7bLU3UQ0/XOc9Yx43S1/tRVKBvw6AO G/Bw== 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:reply-to; bh=h6X/diWj72QNeOEcRC3dLy2vaPYThS1onF8+3vqr5rs=; b=gRCBzvQs90R2lUC2saMlx/vEjNTQ8aF6YHUaVTWthVisv2UBmEGCp7U8o7Mp9j1oPG 2I0lpchgoqRAu/gc1RvPqJeKSLau1bxtCDaAXk0VOddotRsfa/z7PSR2aZ/qqqjsGBwd kJ4+bnBJ7IH2bOgrF8oDvN4oAWdBowTaF7IabbG1raJbNFCjMdMlU7ofuBB38JEtBvSW nMFlDLtyoZV0NSbj5OmQRiWUi3ViiD5Mb2a0F0bFR5SHJyvUGho9UUf33AY22xPWY+a2 W55FFKMJbI5tTqWGd8jhrHzOiV07yfVz0rQVnlyV7doeGnanqgXDkuRCVhNeRgo+11DK doFA== X-Gm-Message-State: APzg51B/S52xwHECQy9B3yYtu00tFPII7e/EAYWQA48/ktJxr6ftsfBV fH1aBs9zzpFFN81kU4LdTRXjvPgcipk= X-Received: by 2002:a50:b8c5:: with SMTP id l63-v6mr31633872ede.80.1535995649248; Mon, 03 Sep 2018 10:27:29 -0700 (PDT) Received: from localhost.localdomain (ptr-fhe1cuodpj2wb2kmzis.18120a2.ip6.access.telenet.be. [2a02:1812:403:bf00:b609:303e:fc41:e954]) by smtp.gmail.com with ESMTPSA id a41-v6sm12607218edc.57.2018.09.03.10.27.28 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 03 Sep 2018 10:27:28 -0700 (PDT) From: anonymous.maarten@gmail.com To: ffmpeg-devel@ffmpeg.org Date: Mon, 3 Sep 2018 19:27:13 +0200 Message-Id: <20180903172714.22510-2-anonymous.maarten@gmail.com> X-Mailer: git-send-email 2.17.1 Subject: [FFmpeg-devel] [PATCH 1/2] libavcodec/libx264: do not define X264_API_IMPORTS 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: Anonymous Maarten MIME-Version: 1.0 Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" From: Anonymous Maarten These defines should be passed by pkg-config. --- libavcodec/libx264.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/libavcodec/libx264.c b/libavcodec/libx264.c index 54e6703d73..b6f4c102c4 100644 --- a/libavcodec/libx264.c +++ b/libavcodec/libx264.c @@ -29,10 +29,6 @@ #include "avcodec.h" #include "internal.h" -#if defined(_MSC_VER) -#define X264_API_IMPORTS 1 -#endif - #include #include #include