[FFmpeg-cvslog] avutil/tests/opt: Set AVClass.version

Andreas Rheinhardt git at videolan.org
Mon Sep 27 07:02:21 EEST 2021


ffmpeg | branch: master | Andreas Rheinhardt <andreas.rheinhardt at outlook.com> | Sun Sep 26 12:03:29 2021 +0200| [4e135347a7c2defaa62e27f7d0533d8963f6d539] | committer: Andreas Rheinhardt

avutil/tests/opt: Set AVClass.version

Reviewed-by: Paul B Mahol <onemda at gmail.com>
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt at outlook.com>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=4e135347a7c2defaa62e27f7d0533d8963f6d539
---

 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)



More information about the ffmpeg-cvslog mailing list