diff mbox

[FFmpeg-devel,2/3] avcodec/h265_metadata_bsf: fix the AVClass version number

Message ID 20171111044722.9256-2-jamrial@gmail.com
State Accepted
Commit 9549f22bf88dfe622760f0416a29482ba91d5423
Headers show

Commit Message

James Almer Nov. 11, 2017, 4:47 a.m. UTC
---
 libavcodec/h265_metadata_bsf.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Michael Niedermayer Nov. 11, 2017, 10:55 a.m. UTC | #1
On Sat, Nov 11, 2017 at 01:47:21AM -0300, James Almer wrote:
> ---
>  libavcodec/h265_metadata_bsf.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/libavcodec/h265_metadata_bsf.c b/libavcodec/h265_metadata_bsf.c
> index 9af5cc256f..67dbe288e3 100644
> --- a/libavcodec/h265_metadata_bsf.c
> +++ b/libavcodec/h265_metadata_bsf.c
> @@ -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,
>  };

should be ok

[...]
diff mbox

Patch

diff --git a/libavcodec/h265_metadata_bsf.c b/libavcodec/h265_metadata_bsf.c
index 9af5cc256f..67dbe288e3 100644
--- a/libavcodec/h265_metadata_bsf.c
+++ b/libavcodec/h265_metadata_bsf.c
@@ -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[] = {