avcodec/h265_metadata_bsf: fix the AVClass version number
authorJames Almer <jamrial@gmail.com>
Sat, 11 Nov 2017 04:45:46 +0000 (01:45 -0300)
committerJames Almer <jamrial@gmail.com>
Sun, 12 Nov 2017 15:49:37 +0000 (12:49 -0300)
Reviewed-by: Michael Niedermayer <michael@niedermayer.cc>
Reviewed-by: jkqxz
Signed-off-by: James Almer <jamrial@gmail.com>
libavcodec/h265_metadata_bsf.c

index 9af5cc2..67dbe28 100644 (file)
@@ -440,7 +440,7 @@ static const AVClass h265_metadata_class = {
     .class_name = "h265_metadata_bsf",
     .item_name  = av_default_item_name,
     .option     = h265_metadata_options,
-    .version    = LIBAVCODEC_VERSION_MAJOR,
+    .version    = LIBAVUTIL_VERSION_INT,
 };
 
 static const enum AVCodecID h265_metadata_codec_ids[] = {