[FFmpeg-devel] [PATCH 2/5] dnn: Add missing static to local variable

Guo, Yejun yejun.guo at intel.com
Fri Jan 22 04:53:54 EET 2021



> -----Original Message-----
> From: ffmpeg-devel <ffmpeg-devel-bounces at ffmpeg.org> On Behalf Of Mark
> Thompson
> Sent: 2021年1月22日 5:40
> To: ffmpeg-devel at ffmpeg.org
> Subject: [FFmpeg-devel] [PATCH 2/5] dnn: Add missing static to local variable
> 
> ---
>  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 5e7fc0f10c..ffb79dc000 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,
> --
There is a dependency of dnn_native_class in dnn-layer-conv2d-test.c, and it makes FATE failed.
Will send a new patch to remove that dependency, and push the two patches together soon.



More information about the ffmpeg-devel mailing list