Revision 9f1d760a libavcodec/iff.c

View differences:

libavcodec/iff.c
149 149
            memset(row, 0, avctx->width);
150 150
            for (plane = 0; plane < avctx->bits_per_coded_sample; plane++) {
151 151
                for(x = 0; x < planewidth && buf < buf_end; ) {
152
                    char value = *buf++;
152
                    int8_t value = *buf++;
153 153
                    int length;
154 154
                    if (value >= 0) {
155 155
                        length = value + 1;
......
166 166
            }
167 167
        } else {
168 168
            for(x = 0; x < avctx->width && buf < buf_end; ) {
169
                char value = *buf++;
169
                int8_t value = *buf++;
170 170
                int length;
171 171
                if (value >= 0) {
172 172
                    length = value + 1;

Also available in: Unified diff