[FFmpeg-devel] [PATCH] lavc/qsvenc: Remove duplicate include header file

Xiang, Haihao haihao.xiang at intel.com
Wed Aug 28 03:58:52 EEST 2024


On Ma, 2024-08-26 at 09:41 +0800, fei.w.wang-at-intel.com at ffmpeg.org wrote:
> From: Fei Wang <fei.w.wang at intel.com>
> 
> Signed-off-by: Fei Wang <fei.w.wang at intel.com>
> ---
>  libavcodec/qsvenc.h     | 2 --
>  libavcodec/qsvenc_av1.c | 2 --
>  2 files changed, 4 deletions(-)
> 
> diff --git a/libavcodec/qsvenc.h b/libavcodec/qsvenc.h
> index e3eb083746..4bc77f2f7c 100644
> --- a/libavcodec/qsvenc.h
> +++ b/libavcodec/qsvenc.h
> @@ -26,8 +26,6 @@
>  #include <stdint.h>
>  #include <sys/types.h>
>  
> -#include <mfxvideo.h>
> -
>  #include "libavutil/common.h"
>  #include "libavutil/hwcontext.h"
>  #include "libavutil/hwcontext_qsv.h"
> diff --git a/libavcodec/qsvenc_av1.c b/libavcodec/qsvenc_av1.c
> index 56002746b9..f7505a69f8 100644
> --- a/libavcodec/qsvenc_av1.c
> +++ b/libavcodec/qsvenc_av1.c
> @@ -22,8 +22,6 @@
>  #include <stdint.h>
>  #include <sys/types.h>
>  
> -#include <mfxvideo.h>
> -
>  #include "libavutil/common.h"
>  #include "libavutil/mastering_display_metadata.h"
>  #include "libavutil/mem.h"

Will apply

Thanks
Haihao






More information about the ffmpeg-devel mailing list