[FFmpeg-devel] [PATCH v2 1/2] fftools: Remove unused qsv declarations

Andreas Rheinhardt andreas.rheinhardt at outlook.com
Sat Sep 24 16:33:04 EEST 2022


Marvin Scholz:
> The code that uses these was removed in
> ecee3b07cde23e05bcc6b4eaa55d860b62dbd2dc
> ---
>  fftools/ffmpeg.h | 4 ----
>  1 file changed, 4 deletions(-)
> 
> diff --git a/fftools/ffmpeg.h b/fftools/ffmpeg.h
> index ede0b2bd96..db7413adcd 100644
> --- a/fftools/ffmpeg.h
> +++ b/fftools/ffmpeg.h
> @@ -686,9 +686,6 @@ extern int auto_conversion_filters;
>  extern const AVIOInterruptCB int_cb;
>  
>  extern const OptionDef options[];
> -#if CONFIG_QSV
> -extern char *qsv_device;
> -#endif
>  extern HWDevice *filter_hw_device;
>  
>  extern unsigned nb_output_dumped;
> @@ -716,7 +713,6 @@ int ifilter_parameters_from_frame(InputFilter *ifilter, const AVFrame *frame);
>  int ffmpeg_parse_options(int argc, char **argv);
>  
>  int videotoolbox_init(AVCodecContext *s);
> -int qsv_init(AVCodecContext *s);
>  
>  HWDevice *hw_device_get_by_name(const char *name);
>  int hw_device_init_from_string(const char *arg, HWDevice **dev);

LGTM for the whole patchset.

- Andreas



More information about the ffmpeg-devel mailing list