Git Inbox Mirror of the ffmpeg-devel mailing list - see https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
 help / color / mirror / Atom feed
From: Michael Niedermayer via ffmpeg-devel <ffmpeg-devel@ffmpeg.org>
To: FFmpeg development discussions and patches <ffmpeg-devel@ffmpeg.org>
Cc: Michael Niedermayer <michael@niedermayer.cc>
Subject: [FFmpeg-devel] Re: [PATCH] libavcodec/x86/vp8dsp.asm: Revert syntax causing assembly errors in OSS-Fuzz
Date: Fri, 12 Dec 2025 03:48:46 +0100
Message-ID: <aTuCjhjsvOrHgogr@neo> (raw)
In-Reply-To: <20251210125803.3636859-1-longfor2025@gmail.com>


[-- Attachment #1.1: Type: text/plain, Size: 1537 bytes --]

Hi

On Wed, Dec 10, 2025 at 08:58:03PM +0800, xingyaner via ffmpeg-devel wrote:
> In commit 99fb257 and commit 3135bc0 of FFmpeg, New changes introduce syntax that relies on the assembler preprocessor to evaluate Boolean logic operations (== and !!).
>  However, the assemblers (NASM/YASM) within the OSS-Fuzz environment, or the x86inc.  asm macro expansion mechanism, cannot correctly parse these complex expressions,
> resulting in an expecting ')' error.
> To fix the fuzzing build error, I suggest keeping these two lines of code in their original version.
> 'cglobal put_vp8_epel%1_h6, 6, 6 + npicregs, 8, dst, dststride, src, srcstride, height, mx, picreg'
> 'cglobal put_vp8_epel%1_h4, 6, 6 + npicregs, 7, dst, dststride, src, srcstride, height, mx, picreg'␋
> 
> Signed-off-by: xingyaner <longfor2025@gmail.com>
> ---
>  libavcodec/x86/vp8dsp.asm | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)

git am seems not to like this, maybe related to the stray unicode chars, didnt investigate

Applying: libavcodec/x86/vp8dsp.asm: Revert syntax causing assembly errors in OSS-Fuzz
Using index info to reconstruct a base tree...
error: patch failed: libavcodec/x86/vp8dsp.asm:173
error: libavcodec/x86/vp8dsp.asm: patch does not apply
error: Did you hand edit your patch?
It does not apply to blobs recorded in its index.

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Everything should be made as simple as possible, but not simpler.
-- Albert Einstein

[-- Attachment #1.2: signature.asc --]
[-- Type: application/pgp-signature, Size: 195 bytes --]

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

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

      parent reply	other threads:[~2025-12-12  2:49 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-12-10 12:58 [FFmpeg-devel] " xingyaner via ffmpeg-devel
2025-12-11  9:50 ` [FFmpeg-devel] " Tobias Rapp via ffmpeg-devel
2025-12-11 10:03   ` xing xing via ffmpeg-devel
2025-12-12  2:48 ` Michael Niedermayer 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=aTuCjhjsvOrHgogr@neo \
    --to=ffmpeg-devel@ffmpeg.org \
    --cc=michael@niedermayer.cc \
    /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