Revision 391fcef9 libavcodec/mjpeg.c

View differences:

libavcodec/mjpeg.c
2128 2128
                    break;
2129 2129
                case SOF0:
2130 2130
                    s->lossless=0;
2131
                    s->ls=0;
2131 2132
                    s->progressive=0;
2132 2133
                    if (mjpeg_decode_sof(s) < 0)
2133 2134
                        return -1;
2134 2135
                    break;
2135 2136
                case SOF2:
2136 2137
                    s->lossless=0;
2138
                    s->ls=0;
2137 2139
                    s->progressive=1;
2138 2140
                    if (mjpeg_decode_sof(s) < 0)
2139 2141
                        return -1;
2140 2142
                    break;
2141 2143
                case SOF3:
2142 2144
                    s->lossless=1;
2145
                    s->ls=0;
2143 2146
                    s->progressive=0;
2144 2147
                    if (mjpeg_decode_sof(s) < 0)
2145 2148
                        return -1;

Also available in: Unified diff