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 AB8E94828B for ; Wed, 14 Feb 2024 18:18:15 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id B28CB68D205; Wed, 14 Feb 2024 20:18:12 +0200 (EET) Received: from relay3-d.mail.gandi.net (relay3-d.mail.gandi.net [217.70.183.195]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 3864268CEBF for ; Wed, 14 Feb 2024 20:18:06 +0200 (EET) Received: by mail.gandi.net (Postfix) with ESMTPSA id 0349A60005 for ; Wed, 14 Feb 2024 18:18:04 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=niedermayer.cc; s=gm1; t=1707934685; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=OuypU3kdiK7+ubmnN8xGDPOrKUqK6C6FEXPYWVIEH40=; b=a3Az9aRk8uGEiZbf+WD1j7B0qw4MZ7IQWdMn1RdgxQsS36YpEIPF5G5gYZH322bI17lERS ++ZFJ+y8WRP/GivUXfkJKyGQf5D9olkriIUthbgEiohnMRqfUa5yPQreCq2NYwAOAuSh2H OUWOofTO+v/Qcyj+fiNUAO4+ur7OlC9FC2uABG2MN3QSg2U9fvvcVC9fQ36EHoL5OUtvPm 6KCRUvfaGMGP1+xY4u5VINXNpMG9qp11+jjbBOlGn+l1LxfJrW5AA/3QpnlzmJ+A5r8iS9 uQ0TLD1kEiAIXzqqijq5xPDceIMdHY8bHM5JAAmIurVdo+/DOlkmVDZ8ZIeayA== Date: Wed, 14 Feb 2024 19:18:04 +0100 From: Michael Niedermayer To: FFmpeg development discussions and patches Message-ID: <20240214181804.GD6420@pb2> References: <20240213230418.457056-1-matthieu.bouron@gmail.com> <20240213230418.457056-2-matthieu.bouron@gmail.com> MIME-Version: 1.0 In-Reply-To: <20240213230418.457056-2-matthieu.bouron@gmail.com> X-GND-Sasl: michael@niedermayer.cc Subject: Re: [FFmpeg-devel] [PATCH 1/7] avcodec: move ffjni to avutil/jniutils 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: multipart/mixed; boundary="===============8262690304799910696==" Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" Archived-At: List-Archive: List-Post: --===============8262690304799910696== Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="oNZJFGIbL+EJKhg+" Content-Disposition: inline --oNZJFGIbL+EJKhg+ Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Feb 13, 2024 at 11:50:09PM +0100, Matthieu Bouron wrote: > This will allow to use the jni utils in libavformat. This will be mostly = useful > to add Android content-uri support. >=20 > This deprecates avcodec/jni.h functions in favor of the ones from avutil/= jni.h. > --- > doc/APIchanges | 6 + > libavcodec/Makefile | 3 +- > libavcodec/jni.c | 48 +---- > libavcodec/jni.h | 8 + > libavcodec/mediacodec.c | 6 +- > libavcodec/mediacodec_surface.c | 6 +- > libavcodec/mediacodec_wrapper.c | 200 ++++++++++----------- > libavcodec/mediacodecdec.c | 3 +- > libavutil/Makefile | 4 + > libavutil/jni.c | 78 ++++++++ > libavutil/jni.h | 46 +++++ > libavcodec/ffjni.c =3D> libavutil/jniutils.c | 36 ++-- > libavcodec/ffjni.h =3D> libavutil/jniutils.h | 26 ++- > 13 files changed, 283 insertions(+), 187 deletions(-) > create mode 100644 libavutil/jni.c > create mode 100644 libavutil/jni.h > rename libavcodec/ffjni.c =3D> libavutil/jniutils.c (88%) > rename libavcodec/ffjni.h =3D> libavutil/jniutils.h (84%) this breaks build make CC libavutil/jni.o libavutil/jni.c:68:5: error: no previous prototype for =E2=80=98av_jni_set_= java_vm=E2=80=99 [-Werror=3Dmissing-prototypes] int av_jni_set_java_vm(void *vm, void *log_ctx) ^~~~~~~~~~~~~~~~~~ libavutil/jni.c:73:7: error: no previous prototype for =E2=80=98av_jni_get_= java_vm=E2=80=99 [-Werror=3Dmissing-prototypes] void *av_jni_get_java_vm(void *log_ctx) ^~~~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors ffbuild/common.mak:81: recipe for target 'libavutil/jni.o' failed make: *** [libavutil/jni.o] Error 1 [...] --=20 Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB Complexity theory is the science of finding the exact solution to an approximation. Benchmarking OTOH is finding an approximation of the exact --oNZJFGIbL+EJKhg+ Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iF0EABEIAB0WIQSf8hKLFH72cwut8TNhHseHBAsPqwUCZc0D1wAKCRBhHseHBAsP qwgpAJ9DPvoKF8iAjNSkytJcFTj5gIuA8QCfaiSbaPiTRUwdGANXjPEVbu7BiMY= =8DGq -----END PGP SIGNATURE----- --oNZJFGIbL+EJKhg+-- --===============8262690304799910696== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ 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". --===============8262690304799910696==--