[FFmpeg-devel] [PATCH 2/2] dnn_backend_native.c: Add missing static to local variable

Guo, Yejun yejun.guo at intel.com
Fri Jan 22 06:20:17 EET 2021



> -----Original Message-----
> From: Guo, Yejun <yejun.guo at intel.com>
> Sent: 2021年1月22日 10:55
> To: ffmpeg-devel at ffmpeg.org
> Cc: Guo, Yejun <yejun.guo at intel.com>
> Subject: [PATCH 2/2] dnn_backend_native.c: Add missing static to local
> variable
> 
> From: Mark Thompson <sw at jkqxz.net>
> 
> ---
>  libavfilter/dnn/dnn_backend_native.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/libavfilter/dnn/dnn_backend_native.c
> b/libavfilter/dnn/dnn_backend_native.c
> index 2c0b938839..be43081170 100644
> --- a/libavfilter/dnn/dnn_backend_native.c
> +++ b/libavfilter/dnn/dnn_backend_native.c
> @@ -36,7 +36,7 @@ static const AVOption dnn_native_options[] = {
>      { NULL },
>  };
> 
> -const AVClass dnn_native_class = {
> +static const AVClass dnn_native_class = {
>      .class_name = "dnn_native",
>      .item_name  = av_default_item_name,
>      .option     = dnn_native_options,
> --
patchwork passed, will push the two patches soon.


More information about the ffmpeg-devel mailing list