[FFmpeg-cvslog] r21771 - trunk/libavcodec/iff.c

reimar subversion
Fri Feb 12 19:18:35 CET 2010


Author: reimar
Date: Fri Feb 12 19:18:35 2010
New Revision: 21771

Log:
Use int8_t instead of char, the signedness of char can differ between systems.

Modified:
   trunk/libavcodec/iff.c

Modified: trunk/libavcodec/iff.c
==============================================================================
--- trunk/libavcodec/iff.c	Fri Feb 12 15:22:41 2010	(r21770)
+++ trunk/libavcodec/iff.c	Fri Feb 12 19:18:35 2010	(r21771)
@@ -149,7 +149,7 @@ static int decode_frame_byterun1(AVCodec
             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;
@@ -166,7 +166,7 @@ static int decode_frame_byterun1(AVCodec
             }
         } 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;



More information about the ffmpeg-cvslog mailing list