Git Inbox Mirror of the ffmpeg-devel mailing list - see https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
 help / color / mirror / Atom feed
From: Nicolas George via ffmpeg-devel <ffmpeg-devel@ffmpeg.org>
To: FFmpeg development discussions and patches <ffmpeg-devel@ffmpeg.org>
Cc: nyh163925 <code@ffmpeg.org>, Nicolas George <george@nsup.org>
Subject: [FFmpeg-devel] Re: [PR] libavfilter: Use type-safe format negotiation functions with enum parameters (PR #21546)
Date: Fri, 23 Jan 2026 15:19:39 +0100
Message-ID: <aXODe0AnM2SBHK-S@phare.normalesup.org> (raw)
In-Reply-To: <176908283597.25.784348670846959797@4457048688e7>

nyh163925 via ffmpeg-devel (HE12026-01-22):
> PR #21546 opened by nyh163925
> URL: https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/21546
> Patch URL: https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/21546.patch
> 
> Replace generic format functions with type-safe variants to prevent undefined
> behavior with -fshort-enums compiler flag.
> 
> - 44/20 filters: ff_set_common_formats_from_list2 -> ff_set_common_*_from_list2 (sample/pixel)
> - 16/41 filters: ff_make_format_list → ff_make_*_format_list (sample/pixel)
> 
> Signed-off-by: niyinghao <niyinghao@xiaomi.com>

That looks reasonable, thanks.

Regards,

-- 
  Nicolas George
_______________________________________________
ffmpeg-devel mailing list -- ffmpeg-devel@ffmpeg.org
To unsubscribe send an email to ffmpeg-devel-leave@ffmpeg.org

      reply	other threads:[~2026-01-23 14:20 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-01-22 11:53 [FFmpeg-devel] " nyh163925 via ffmpeg-devel
2026-01-23 14:19 ` Nicolas George via ffmpeg-devel [this message]

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=aXODe0AnM2SBHK-S@phare.normalesup.org \
    --to=ffmpeg-devel@ffmpeg.org \
    --cc=code@ffmpeg.org \
    --cc=george@nsup.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