Mercurial > libavcodec.hg
changeset 4554:384e4c438534 libavcodec
100l: forgot to reset LS mode on new frame
author | kostya |
---|---|
date | Wed, 21 Feb 2007 18:10:25 +0000 |
parents | 1a714d3f0233 |
children | 8d1303d3777d |
files | mjpeg.c |
diffstat | 1 files changed, 3 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/mjpeg.c Wed Feb 21 10:15:08 2007 +0000 +++ b/mjpeg.c Wed Feb 21 18:10:25 2007 +0000 @@ -2128,18 +2128,21 @@ break; case SOF0: s->lossless=0; + s->ls=0; s->progressive=0; if (mjpeg_decode_sof(s) < 0) return -1; break; case SOF2: s->lossless=0; + s->ls=0; s->progressive=1; if (mjpeg_decode_sof(s) < 0) return -1; break; case SOF3: s->lossless=1; + s->ls=0; s->progressive=0; if (mjpeg_decode_sof(s) < 0) return -1;