Git Inbox Mirror of the ffmpeg-devel mailing list - see https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
 help / color / mirror / Atom feed
From: James Almer <jamrial@gmail.com>
To: ffmpeg-devel@ffmpeg.org
Subject: Re: [FFmpeg-devel] [PATCH 01/15] avcodec/motionpixels: Avoid av_unused
Date: Thu, 10 Apr 2025 19:04:08 -0300
Message-ID: <cc97e21e-8a60-457c-8de0-d38090930d0e@gmail.com> (raw)
In-Reply-To: <GV1P250MB0737DAD8861AA8A26E5F6B198FB72@GV1P250MB0737.EURP250.PROD.OUTLOOK.COM>


[-- Attachment #1.1.1: Type: text/plain, Size: 1002 bytes --]

> From 9f052c0377a5b46e48d928f11d1d10c389ea5e84 Mon Sep 17 00:00:00 2001
> From: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
> Date: Thu, 10 Apr 2025 13:41:55 +0200
> Subject: [PATCH 03/15] avutil/aes: Use #if checks instead of if (ARCH_X86)
> 
> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
> ---
>  libavutil/aes.c | 5 +++--
>  1 file changed, 3 insertions(+), 2 deletions(-)
> 
> diff --git a/libavutil/aes.c b/libavutil/aes.c
> index 13a34c3bf6..3c8ac1c349 100644
> --- a/libavutil/aes.c
> +++ b/libavutil/aes.c
> @@ -237,8 +237,9 @@ int av_aes_init(AVAES *a, const uint8_t *key, int key_bits, int decrypt)
>  
>      a->rounds = rounds;
>      a->crypt = decrypt ? aes_decrypt : aes_encrypt;
> -    if (ARCH_X86)
> -        ff_init_aes_x86(a, decrypt);
> +#if ARCH_X86
> +    ff_init_aes_x86(a, decrypt);
> +#endif
>  
>      ff_thread_once(&aes_static_init, aes_init_static);
>  
> -- 
> 2.45.2
> 

Why? DCE should handle this fine.


[-- Attachment #1.2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 495 bytes --]

[-- Attachment #2: Type: text/plain, Size: 251 bytes --]

_______________________________________________
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".

  reply	other threads:[~2025-04-10 22:04 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-04-10 20:59 Andreas Rheinhardt
2025-04-10 22:04 ` James Almer [this message]
2025-04-10 22:36   ` Andreas Rheinhardt
2025-04-11  0:48     ` James Almer
2025-04-13  6:17 ` Andreas Rheinhardt

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=cc97e21e-8a60-457c-8de0-d38090930d0e@gmail.com \
    --to=jamrial@gmail.com \
    --cc=ffmpeg-devel@ffmpeg.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

Git Inbox Mirror of the ffmpeg-devel mailing list - see https://ffmpeg.org/mailman/listinfo/ffmpeg-devel

This inbox may be cloned and mirrored by anyone:

	git clone --mirror https://master.gitmailbox.com/ffmpegdev/0 ffmpegdev/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 ffmpegdev ffmpegdev/ https://master.gitmailbox.com/ffmpegdev \
		ffmpegdev@gitmailbox.com
	public-inbox-index ffmpegdev

Example config snippet for mirrors.


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git