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

Mark Thompson sw at jkqxz.net
Thu Jan 21 23:39:53 EET 2021


---
 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,
-- 
2.29.2



More information about the ffmpeg-devel mailing list