From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from ffbox0-bg.ffmpeg.org (ffbox0-bg.ffmpeg.org [79.124.17.100]) by master.gitmailbox.com (Postfix) with ESMTPS id EDBC64E449 for ; Mon, 9 Jun 2025 22:02:36 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.ffmpeg.org (Postfix) with ESMTP id 1666368CD97; Tue, 10 Jun 2025 01:02:35 +0300 (EEST) Received: from mx.sdf.org (mx.sdf.org [205.166.94.24]) by ffbox0-bg.ffmpeg.org (Postfix) with ESMTPS id 4396D68CEE8 for ; Tue, 10 Jun 2025 01:02:33 +0300 (EEST) Received: from 6adec48d008b490a866cba579a4e4931 ([1.145.244.154]) (authenticated (0 bits)) by mx.sdf.org (8.18.1/8.14.3) with ESMTPSA id 559M2OEl028032 (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256 bits) verified NO) for ; Mon, 9 Jun 2025 22:02:30 GMT Date: Tue, 10 Jun 2025 08:02:24 +1000 From: Peter Ross To: ffmpeg-devel@ffmpeg.org Message-ID: <5171dac91102c620ee208307a9687d933b70f579.1749506528.git.pross@xvid.org> MIME-Version: 1.0 Subject: [FFmpeg-devel] [PATCH] avcodec/tests/dct: add CONFIG_PRORES_DECODER guard 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="===============2569548468492043101==" Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" Archived-At: List-Archive: List-Post: --===============2569548468492043101== Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="qNeOXA2lhNWBMCwE" Content-Disposition: inline --qNeOXA2lhNWBMCwE Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Only enable the proresdsp check when the prores decoder is enabled. This fixes fate when configuring with --disable-everything --- libavcodec/tests/dct.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/libavcodec/tests/dct.c b/libavcodec/tests/dct.c index 76ad42bdfa..784b49276c 100644 --- a/libavcodec/tests/dct.c +++ b/libavcodec/tests/dct.c @@ -52,7 +52,9 @@ #include "libavcodec/faandct.h" #include "libavcodec/faanidct.h" #include "libavcodec/dctref.h" +#if CONFIG_PRORES_DECODER #include "libavcodec/proresdsp.c" +#endif =20 struct algo { const char *name; @@ -71,6 +73,7 @@ static const struct algo fdct_tab[] =3D { #endif /* CONFIG_FAANDCT */ }; =20 +#if CONFIG_PRORES_DECODER static void ff_prores_idct_wrap(int16_t *dst){ LOCAL_ALIGNED(16, int16_t, qmat, [64]); int i; @@ -83,6 +86,7 @@ static void ff_prores_idct_wrap(int16_t *dst){ dst[i] -=3D 512; } } +#endif =20 static const struct algo idct_tab[] =3D { { "REF-DBL", ff_ref_idct, FF_IDCT_PERM_NONE }, @@ -90,7 +94,9 @@ static const struct algo idct_tab[] =3D { { "SIMPLE-C", ff_simple_idct_int16_8bit, FF_IDCT_PERM_NONE }, { "SIMPLE-C10", ff_simple_idct_int16_10bit, FF_IDCT_PERM_NONE }, { "SIMPLE-C12", ff_simple_idct_int16_12bit, FF_IDCT_PERM_NONE, 0, = 1 }, +#if CONFIG_PRORES_DECODER { "PR-C", ff_prores_idct_wrap, FF_IDCT_PERM_NONE, 0, 1 }, +#endif #if CONFIG_FAANIDCT { "FAANI", ff_faanidct, FF_IDCT_PERM_NONE }, #endif /* CONFIG_FAANIDCT */ --=20 2.47.2 -- Peter (A907 E02F A6E5 0CD2 34CD 20D2 6760 79C5 AC40 DD6B) --qNeOXA2lhNWBMCwE Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iF0EABECAB0WIQSpB+AvpuUM0jTNINJnYHnFrEDdawUCaEdZ8AAKCRBnYHnFrEDd awMxAKCq82TWUzymHat5OQlyfP6vxEFt+gCfb+4Ln4VF43tpUXZ/TaD4UlJUD/4= =VVP5 -----END PGP SIGNATURE----- --qNeOXA2lhNWBMCwE-- --===============2569548468492043101== 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". --===============2569548468492043101==--