[Ffmpeg-cvslog] r8053 - trunk/libavcodec/mjpeg.c
kostya
subversion
Wed Feb 21 19:10:26 CET 2007
Author: kostya
Date: Wed Feb 21 19:10:25 2007
New Revision: 8053
Modified:
trunk/libavcodec/mjpeg.c
Log:
100l: forgot to reset LS mode on new frame
Modified: trunk/libavcodec/mjpeg.c
==============================================================================
--- trunk/libavcodec/mjpeg.c (original)
+++ trunk/libavcodec/mjpeg.c Wed Feb 21 19:10:25 2007
@@ -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;
More information about the ffmpeg-cvslog
mailing list