summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libavcodec/ffv1.h2
-rw-r--r--libavcodec/ffv1dec.c8
-rw-r--r--libavcodec/ffv1enc.c4
3 files changed, 7 insertions, 7 deletions
diff --git a/libavcodec/ffv1.h b/libavcodec/ffv1.h
index 914eb103d7..9221cc15b3 100644
--- a/libavcodec/ffv1.h
+++ b/libavcodec/ffv1.h
@@ -83,7 +83,7 @@ typedef struct FFV1Context {
uint64_t rc_stat[256][2];
uint64_t (*rc_stat2[MAX_QUANT_TABLES])[32][2];
int version;
- int minor_version;
+ int micro_version;
int width, height;
int chroma_planes;
int chroma_h_shift, chroma_v_shift;
diff --git a/libavcodec/ffv1dec.c b/libavcodec/ffv1dec.c
index e5aac29abc..658c71745f 100644
--- a/libavcodec/ffv1dec.c
+++ b/libavcodec/ffv1dec.c
@@ -382,7 +382,7 @@ static int decode_slice(AVCodecContext *c, void *arg)
y = fs->slice_y;
if (!fs->ac) {
- if (f->version == 3 && f->minor_version > 1 || f->version > 3)
+ if (f->version == 3 && f->micro_version > 1 || f->version > 3)
get_rac(&fs->c, (uint8_t[]) { 129 });
fs->ac_byte_count = f->version > 2 || (!x && !y) ? fs->c.bytestream - fs->c.bytestream_start - 1 : 0;
init_get_bits(&fs->gb,
@@ -485,7 +485,7 @@ static int read_extra_header(FFV1Context *f)
f->version = get_symbol(c, state, 0);
if (f->version > 2) {
c->bytestream_end -= 4;
- f->minor_version = get_symbol(c, state, 0);
+ f->micro_version = get_symbol(c, state, 0);
}
f->ac = f->avctx->coder_type = get_symbol(c, state, 0);
if (f->ac > 1) {
@@ -536,7 +536,7 @@ static int read_extra_header(FFV1Context *f)
if (f->version > 2) {
f->ec = get_symbol(c, state, 0);
- if (f->minor_version > 2)
+ if (f->micro_version > 2)
f->intra = get_symbol(c, state, 0);
}
@@ -553,7 +553,7 @@ static int read_extra_header(FFV1Context *f)
if (f->avctx->debug & FF_DEBUG_PICT_INFO)
av_log(f->avctx, AV_LOG_DEBUG,
"global: ver:%d.%d, coder:%d, colorspace: %d bpr:%d chroma:%d(%d:%d), alpha:%d slices:%dx%d qtabs:%d ec:%d intra:%d\n",
- f->version, f->minor_version,
+ f->version, f->micro_version,
f->ac,
f->colorspace,
f->avctx->bits_per_raw_sample,
diff --git a/libavcodec/ffv1enc.c b/libavcodec/ffv1enc.c
index cc9a1a9849..faf64ca780 100644
--- a/libavcodec/ffv1enc.c
+++ b/libavcodec/ffv1enc.c
@@ -537,8 +537,8 @@ static int write_extradata(FFV1Context *f)
put_symbol(c, state, f->version, 0);
if (f->version > 2) {
if (f->version == 3)
- f->minor_version = 4;
- put_symbol(c, state, f->minor_version, 0);
+ f->micro_version = 4;
+ put_symbol(c, state, f->micro_version, 0);
}
put_symbol(c, state, f->ac, 0);