diff options
author | Michael Niedermayer <michael@niedermayer.cc> | 2018-04-19 23:44:13 +0200 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2018-04-19 23:44:13 +0200 |
commit | c0bce367e4932f0fb09195e6978ac1a5a60480a4 (patch) | |
tree | 71e37103174fbc9104c61e1d8a9ade2a628af587 | |
parent | 3dfe3436ac78607d7baf6f1f7f48691343d9d929 (diff) | |
download | ffmpeg-c0bce367e4932f0fb09195e6978ac1a5a60480a4.tar.gz |
avcodec: Fix AVClass .version
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
-rw-r--r-- | libavcodec/dump_extradata_bsf.c | 2 | ||||
-rw-r--r-- | libavcodec/hapqa_extract_bsf.c | 2 | ||||
-rw-r--r-- | libavcodec/mediacodec_wrapper.c | 4 |
3 files changed, 4 insertions, 4 deletions
diff --git a/libavcodec/dump_extradata_bsf.c b/libavcodec/dump_extradata_bsf.c index 081ae5aa08..98703749f7 100644 --- a/libavcodec/dump_extradata_bsf.c +++ b/libavcodec/dump_extradata_bsf.c @@ -93,7 +93,7 @@ static const AVClass dump_extradata_class = { .class_name = "dump_extradata bsf", .item_name = av_default_item_name, .option = options, - .version = LIBAVUTIL_VERSION_MAJOR, + .version = LIBAVUTIL_VERSION_INT, }; const AVBitStreamFilter ff_dump_extradata_bsf = { diff --git a/libavcodec/hapqa_extract_bsf.c b/libavcodec/hapqa_extract_bsf.c index 167d22d06e..5c22184813 100644 --- a/libavcodec/hapqa_extract_bsf.c +++ b/libavcodec/hapqa_extract_bsf.c @@ -122,7 +122,7 @@ static const AVClass hapqa_extract_class = { .class_name = "hapqa_extract_bsf", .item_name = av_default_item_name, .option = options, - .version = LIBAVUTIL_VERSION_MAJOR, + .version = LIBAVUTIL_VERSION_INT, }; const AVBitStreamFilter ff_hapqa_extract_bsf = { diff --git a/libavcodec/mediacodec_wrapper.c b/libavcodec/mediacodec_wrapper.c index 11d7f665c7..9bf96e9383 100644 --- a/libavcodec/mediacodec_wrapper.c +++ b/libavcodec/mediacodec_wrapper.c @@ -156,7 +156,7 @@ static const struct FFJniField jni_amediaformat_mapping[] = { static const AVClass amediaformat_class = { .class_name = "amediaformat", .item_name = av_default_item_name, - .version = LIBAVCODEC_VERSION_INT, + .version = LIBAVUTIL_VERSION_INT, }; struct FFAMediaFormat { @@ -268,7 +268,7 @@ static const struct FFJniField jni_amediacodec_mapping[] = { static const AVClass amediacodec_class = { .class_name = "amediacodec", .item_name = av_default_item_name, - .version = LIBAVCODEC_VERSION_INT, + .version = LIBAVUTIL_VERSION_INT, }; struct FFAMediaCodec { |