[FFmpeg-devel] [PATCH 2/2] avutil/tests/opt: Set AVClass.version

Andreas Rheinhardt andreas.rheinhardt at outlook.com
Sun Sep 26 13:09:18 EEST 2021


Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt at outlook.com>
---
 libavutil/tests/opt.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/libavutil/tests/opt.c b/libavutil/tests/opt.c
index 3134ffd354..e6ea892373 100644
--- a/libavutil/tests/opt.c
+++ b/libavutil/tests/opt.c
@@ -105,6 +105,7 @@ static const AVClass test_class = {
     .class_name = "TestContext",
     .item_name  = test_get_name,
     .option     = test_options,
+    .version    = LIBAVUTIL_VERSION_INT,
 };
 
 static void log_callback_help(void *ptr, int level, const char *fmt, va_list vl)
-- 
2.30.2



More information about the ffmpeg-devel mailing list