aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Niedermayer <michael@niedermayer.cc>2018-04-19 23:44:13 +0200
committerMichael Niedermayer <michael@niedermayer.cc>2018-04-20 01:53:41 +0200
commit5cc6370a1501ea6dbad13be0f4aa181fdb5c6660 (patch)
tree08ca4401e1bcd51ea1babb32247c7b44166af0c1
parent8b019be79b6b32aa664ca042eb8cbd226b6433fe (diff)
downloadffmpeg-5cc6370a1501ea6dbad13be0f4aa181fdb5c6660.tar.gz
avcodec: Fix AVClass .version
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc> (cherry picked from commit c0bce367e4932f0fb09195e6978ac1a5a60480a4) Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
-rw-r--r--libavcodec/dump_extradata_bsf.c2
-rw-r--r--libavcodec/hapqa_extract_bsf.c2
-rw-r--r--libavcodec/mediacodec_wrapper.c4
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 {