From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from ffbox0-bg.mplayerhq.hu (ffbox0-bg.ffmpeg.org [79.124.17.100]) by master.gitmailbox.com (Postfix) with ESMTP id C130C41220 for ; Tue, 4 Jan 2022 09:49:13 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id 9325168B291; Tue, 4 Jan 2022 11:49:11 +0200 (EET) Received: from mail-pl1-f173.google.com (mail-pl1-f173.google.com [209.85.214.173]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 4717068B272 for ; Tue, 4 Jan 2022 11:49:05 +0200 (EET) Received: by mail-pl1-f173.google.com with SMTP id j13so26742512plx.4 for ; Tue, 04 Jan 2022 01:49:05 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=date:from:to:subject:message-id:mail-followup-to:references :mime-version:content-disposition:in-reply-to; bh=Q4+mLPZuS3uNquVqw4/Vl0SE5mQzEyo7XqOYfIxrKtk=; b=b+nWGbEjWkr8DQp8BHjyolIumBMWrRjqW4COd+0ZyRZEUsXTLlq1tkw8bGah/jTKf/ EP7sw8zDNPOl4cQErZi9wd9Xf+PV199xnZyDSfJ1BxlrGsBNx0tzw1dsZUvN/PB7K23u vdFD9LwDGXTrJyHSwByxL9ZF/j4BpDePgBUfadWi3ceqm8CUMLOpSDkwk3r2JUIfG0FD oOmA4+aRq7EEZFnoY5sSho7f0iQMOoGcBb1RTsamHyJEAAKFHQyEpzZN5nCmNRD7W24s wtTEIhKeEQL3WKyq2PtdmTyq3YvBzczhESwIe4lGVROcQ2+X17rxUzLBbEfSar6AhAPG CS7g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:subject:message-id:mail-followup-to :references:mime-version:content-disposition:in-reply-to; bh=Q4+mLPZuS3uNquVqw4/Vl0SE5mQzEyo7XqOYfIxrKtk=; b=VYFE0AMUmJKJgPRoCje/KtavnxDNeiOuDMdtCZWsASeiQwgRXVsT+10xIDg57oyuRV hBVMH5HQofxI0K+NMsx54jQ3FMBc1Hj1LZc/4MtFRiJ/v7+XMi7nRg3lc4HOoux7QKdX Rp2auGvU0mt/pe6iBg3HcuySOcWGaz/VUH/AvM3uhLnT0Tk4paad/We+h9oq+ySidQyM eEDDXThHhy52n/LKE9Lecdf8YGqwuSmkdepDsc9lj8ghayTiNnE6lhCtmjQCIz1mB+Ah 2CdHHlKmW9NaBPf6DAj9jAzFBapTKu/nvSLtxZUZJHm44LZKIKo5k5SY6h/eKrC5g7Z2 KLcw== X-Gm-Message-State: AOAM530B8lSRPL2rnDWH0HGqqGjB42SIwlY/onnQbppbPJ3iMxrORJdB eTeIMYR+/Eh6CoQFM7f8mhm1qJO/1XM= X-Google-Smtp-Source: ABdhPJwaWuG/2qDGMPidYx7r7vH4Ls8UHcqDEGApa1SFeX/wUg/uC+MQ2WW8FzIbXSUMAbO3jfvGXw== X-Received: by 2002:a17:902:9b93:b0:149:8ef6:f673 with SMTP id y19-20020a1709029b9300b001498ef6f673mr31351531plp.124.1641289743387; Tue, 04 Jan 2022 01:49:03 -0800 (PST) Received: from gmail.com ([161.117.202.209]) by smtp.gmail.com with ESMTPSA id e20sm41929592pfv.219.2022.01.04.01.49.02 for (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Tue, 04 Jan 2022 01:49:03 -0800 (PST) Date: Tue, 4 Jan 2022 17:49:00 +0800 From: lance.lmwang@gmail.com To: ffmpeg-devel@ffmpeg.org Message-ID: <20220104094900.GA4411@gmail.com> Mail-Followup-To: ffmpeg-devel@ffmpeg.org References: MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: Subject: Re: [FFmpeg-devel] Build break: VideoToolbox VP9 support breaks H.264-only build 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 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" Archived-At: List-Archive: List-Post: On Mon, Jan 03, 2022 at 01:18:34PM -0600, Cameron Gutman wrote: > I am building minimal ffmpeg libraries for my application using the following > configure command: > > ./configure --enable-shared --disable-all --enable-avcodec --enable-decoder=h264 --enable-hwaccel=h264_videotoolbox > > libavcodec.dylib now fails to link after the following commit: > > commit a41a2efc85f8c88caec10040ee437562f9d0b947 > Author: rcombs > Date: Sat Nov 13 02:43:06 2021 -0600 > > lavc/videotoolbox: add VP9 hardware acceleration > > On M1 Max, this supports profiles 0 and 2, but not 1 and 3. > > > The error is: > > Undefined symbols for architecture x86_64: > "_ff_videotoolbox_vpcc_extradata_create", referenced from: > _videotoolbox_start in videotoolbox.o > ld: symbol(s) not found for architecture x86_64 > clang: error: linker command failed with exit code 1 (use -v to see invocation) > make: *** [libavcodec/libavcodec.59.dylib] Error 1 > > > Perhaps ff_videotoolbox_vpcc_extradata_create() needs to go in videotoolbox.c > like the other ff_videotoolbox_*_extradata_create() functions? I submit one patch for the error. If we move the function to videotoolbox.c, it's necessary to include vp9shared.h which will caused redefinitions of IntraPredMode with hevcdec.h. > > > > Regards, > Cam > _______________________________________________ > ffmpeg-devel mailing list > ffmpeg-devel@ffmpeg.org > https://ffmpeg.org/mailman/listinfo/ffmpeg-devel > > To unsubscribe, visit link above, or email > ffmpeg-devel-request@ffmpeg.org with subject "unsubscribe". -- Thanks, Limin Wang _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email ffmpeg-devel-request@ffmpeg.org with subject "unsubscribe".