Originally committed as revision 21771 to svn://svn.ffmpeg.org/ffmpeg/trunk
memset(row, 0, avctx->width);
for (plane = 0; plane < avctx->bits_per_coded_sample; plane++) {
for(x = 0; x < planewidth && buf < buf_end; ) {
- char value = *buf++;
+ int8_t value = *buf++;
int length;
if (value >= 0) {
length = value + 1;
}
} else {
for(x = 0; x < avctx->width && buf < buf_end; ) {
- char value = *buf++;
+ int8_t value = *buf++;
int length;
if (value >= 0) {
length = value + 1;