[FFmpeg-devel] [PATCH] avcodec/x86/vc1dsp: add missing header for HAVE_6REGS (PR #20221)

Kacper Michajłow code at ffmpeg.org
Tue Aug 12 04:46:39 EEST 2025


PR #20221 opened by Kacper Michajłow (kasper93)
URL: https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/20221
Patch URL: https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/20221.patch

x86/vc1dsp_init.c already includes asm.h before, so this is mostly
cosmetic change and only to clean checkheaders warning.

Signed-off-by: Kacper Michajłow <kasper93 at gmail.com>


From a9b75632005b8e9df6ca562347812dbfcd926adb Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Kacper=20Michaj=C5=82ow?= <kasper93 at gmail.com>
Date: Tue, 12 Aug 2025 03:42:14 +0200
Subject: [PATCH] avcodec/x86/vc1dsp: add missing header for HAVE_6REGS
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

x86/vc1dsp_init.c already includes asm.h before, so this is mostly
cosmetic change and only to clean checkheaders warning.

Signed-off-by: Kacper Michajłow <kasper93 at gmail.com>
---
 libavcodec/x86/vc1dsp.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/libavcodec/x86/vc1dsp.h b/libavcodec/x86/vc1dsp.h
index 6185407b18..cc6df263ca 100644
--- a/libavcodec/x86/vc1dsp.h
+++ b/libavcodec/x86/vc1dsp.h
@@ -22,6 +22,7 @@
 #define AVCODEC_X86_VC1DSP_H
 
 #include "libavcodec/vc1dsp.h"
+#include "libavutil/x86/asm.h"
 
 #if HAVE_6REGS && HAVE_INLINE_ASM && HAVE_MMX_EXTERNAL
 
-- 
2.49.1



More information about the ffmpeg-devel mailing list