summaryrefslogtreecommitdiff
path: root/libavcodec/ffv1dec.c
diff options
context:
space:
mode:
authorHendrik Leppkes <h.leppkes@gmail.com>2015-09-08 17:10:48 +0200
committerHendrik Leppkes <h.leppkes@gmail.com>2015-09-08 17:10:48 +0200
commit5d8e836d0ec3bcaabf5bc2020210a1bc61975922 (patch)
tree8ff87745055d571431ded709218556357b18341c /libavcodec/ffv1dec.c
parent151aa2ebff514a9d150a2d3a7b92be1dcc46df36 (diff)
Replace all remaining occurances of step/depth_minus1 and offset_plus1
Diffstat (limited to 'libavcodec/ffv1dec.c')
-rw-r--r--libavcodec/ffv1dec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/ffv1dec.c b/libavcodec/ffv1dec.c
index 162e41bcbf..557b1a0994 100644
--- a/libavcodec/ffv1dec.c
+++ b/libavcodec/ffv1dec.c
@@ -359,7 +359,7 @@ static int decode_slice(AVCodecContext *c, void *arg)
FFV1Context *fs = *(void **)arg;
FFV1Context *f = fs->avctx->priv_data;
int width, height, x, y, ret;
- const int ps = av_pix_fmt_desc_get(c->pix_fmt)->comp[0].step_minus1 + 1;
+ const int ps = av_pix_fmt_desc_get(c->pix_fmt)->comp[0].step;
AVFrame * const p = f->cur;
int i, si;