]> git.sesse.net Git - ffmpeg/blobdiff - libavcodec/ffv1dec.c
Merge commit 'e17db9ac496420f8824190ff5059a8a3646cbb7e'
[ffmpeg] / libavcodec / ffv1dec.c
index 162e41bcbffe757e8bf8a7301a3ab74b8e8d2f49..557b1a0994148b1820fa4e460005dbd9c54aeb74 100644 (file)
@@ -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;