diff mbox

[FFmpeg-devel,1/3] avcodec/h264_metadata_bsf: fix the AVClass version number

Message ID 20171111044722.9256-1-jamrial@gmail.com
State Accepted
Commit 9a6e4c88d64149eaaf28d7ea77de80cedf602935
Headers show

Commit Message

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

Comments

Michael Niedermayer Nov. 11, 2017, 10:54 a.m. UTC | #1
On Sat, Nov 11, 2017 at 01:47:20AM -0300, James Almer wrote:
> ---
>  libavcodec/h264_metadata_bsf.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/libavcodec/h264_metadata_bsf.c b/libavcodec/h264_metadata_bsf.c
> index 73e73e96e4..ada40a57c7 100644
> --- a/libavcodec/h264_metadata_bsf.c
> +++ b/libavcodec/h264_metadata_bsf.c
> @@ -506,7 +506,7 @@ static const AVClass h264_metadata_class = {
>      .class_name = "h264_metadata_bsf",
>      .item_name  = av_default_item_name,
>      .option     = h264_metadata_options,
> -    .version    = LIBAVCODEC_VERSION_MAJOR,
> +    .version    = LIBAVUTIL_VERSION_INT,
>  };
>  
>  static const enum AVCodecID h264_metadata_codec_ids[] = {

should be ok

thx

[...]
James Almer Nov. 12, 2017, 10:11 p.m. UTC | #2
On 11/11/2017 7:54 AM, Michael Niedermayer wrote:
> On Sat, Nov 11, 2017 at 01:47:20AM -0300, James Almer wrote:
>> ---
>>  libavcodec/h264_metadata_bsf.c | 2 +-
>>  1 file changed, 1 insertion(+), 1 deletion(-)
>>
>> diff --git a/libavcodec/h264_metadata_bsf.c b/libavcodec/h264_metadata_bsf.c
>> index 73e73e96e4..ada40a57c7 100644
>> --- a/libavcodec/h264_metadata_bsf.c
>> +++ b/libavcodec/h264_metadata_bsf.c
>> @@ -506,7 +506,7 @@ static const AVClass h264_metadata_class = {
>>      .class_name = "h264_metadata_bsf",
>>      .item_name  = av_default_item_name,
>>      .option     = h264_metadata_options,
>> -    .version    = LIBAVCODEC_VERSION_MAJOR,
>> +    .version    = LIBAVUTIL_VERSION_INT,
>>  };
>>  
>>  static const enum AVCodecID h264_metadata_codec_ids[] = {
> 
> should be ok
> 
> thx

Patchset pushed. Thanks.
diff mbox

Patch

diff --git a/libavcodec/h264_metadata_bsf.c b/libavcodec/h264_metadata_bsf.c
index 73e73e96e4..ada40a57c7 100644
--- a/libavcodec/h264_metadata_bsf.c
+++ b/libavcodec/h264_metadata_bsf.c
@@ -506,7 +506,7 @@  static const AVClass h264_metadata_class = {
     .class_name = "h264_metadata_bsf",
     .item_name  = av_default_item_name,
     .option     = h264_metadata_options,
-    .version    = LIBAVCODEC_VERSION_MAJOR,
+    .version    = LIBAVUTIL_VERSION_INT,
 };
 
 static const enum AVCodecID h264_metadata_codec_ids[] = {