general purpose var should be int
authorMichael Niedermayer <michaelni@gmx.at>
Sat, 7 Apr 2007 23:27:11 +0000 (23:27 +0000)
committerMichael Niedermayer <michaelni@gmx.at>
Sat, 7 Apr 2007 23:27:11 +0000 (23:27 +0000)
Originally committed as revision 8670 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavcodec/bethsoftvideo.c

index da63c38..f3150d4 100644 (file)
@@ -66,7 +66,7 @@ static int bethsoftvid_decode_frame(AVCodecContext *avctx,
     uint8_t * frame_end;
     int line_remaining = avctx->width;          // number of bytes remaining on a line
     const int wrap_to_next_line = vid->frame.linesize[0] - avctx->width;
-    uint8_t rle_num_bytes;
+    int rle_num_bytes;
     int yoffset;
 
     if (avctx->reget_buffer(avctx, &vid->frame)) {