changeset 11124:85a1b00a2413 libavcodec

Use int8_t instead of char, the signedness of char can differ between systems.
author reimar
date Fri, 12 Feb 2010 18:18:35 +0000
parents d59349627f52
children 1f13ac0e696b
files iff.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/iff.c	Fri Feb 12 14:22:41 2010 +0000
+++ b/iff.c	Fri Feb 12 18:18:35 2010 +0000
@@ -149,7 +149,7 @@
             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 @@
             }
         } 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;