diff mbox series

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

Message ID 20210122025517.16467-1-yejun.guo@intel.com
State Accepted
Headers show
Series [FFmpeg-devel,1/2] dnn-layer-conv2d-test.c: remove dependency of dnn_native_class
Related show

Checks

Context Check Description
andriy/x86_make success Make finished
andriy/x86_make_fate success Make fate finished
andriy/PPC64_make success Make finished
andriy/PPC64_make_fate success Make fate finished

Commit Message

Guo, Yejun Jan. 22, 2021, 2:55 a.m. UTC
From: Mark Thompson <sw@jkqxz.net>

---
 libavfilter/dnn/dnn_backend_native.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Guo, Yejun Jan. 22, 2021, 4:20 a.m. UTC | #1
> -----Original Message-----
> From: Guo, Yejun <yejun.guo@intel.com>
> Sent: 2021年1月22日 10:55
> To: ffmpeg-devel@ffmpeg.org
> Cc: Guo, Yejun <yejun.guo@intel.com>
> Subject: [PATCH 2/2] dnn_backend_native.c: Add missing static to local
> variable
> 
> From: Mark Thompson <sw@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.
diff mbox series

Patch

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,