Commit 81cf9108 authored by Michael Niedermayer's avatar Michael Niedermayer

avcodec/mjpegdec: fix len computation in ff_mjpeg_decode_dqt()

Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent cf9ab119
......@@ -189,7 +189,7 @@ int ff_mjpeg_decode_dqt(MJpegDecodeContext *s)
s->quant_matrixes[index][s->scantable.permutated[8]]) >> 1;
av_log(s->avctx, AV_LOG_DEBUG, "qscale[%d]: %d\n",
index, s->qscale[index]);
len -= 65;
len -= 1 + 64 * (1+pr);
}
return 0;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment