summaryrefslogtreecommitdiff
path: root/libavcodec/iff.c
diff options
context:
space:
mode:
authorReimar Döffinger <Reimar.Doeffinger@gmx.de>2010-02-12 18:18:35 +0000
committerReimar Döffinger <Reimar.Doeffinger@gmx.de>2010-02-12 18:18:35 +0000
commit9f1d760a278f59a015acbc3d432f0fddff57604e (patch)
treef703f3bf2949a65b6cbdca5f0236012b5d9a8f1c /libavcodec/iff.c
parentfa65584f120ba0e10171f2e43c8a3ecaec3dd27b (diff)
downloadffmpeg-9f1d760a278f59a015acbc3d432f0fddff57604e.tar.gz
Use int8_t instead of char, the signedness of char can differ between systems.
Originally committed as revision 21771 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/iff.c')
-rw-r--r--libavcodec/iff.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/iff.c b/libavcodec/iff.c
index 7323f9b70a..e3ce6c12ab 100644
--- a/libavcodec/iff.c
+++ b/libavcodec/iff.c
@@ -149,7 +149,7 @@ static int decode_frame_byterun1(AVCodecContext *avctx,
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(AVCodecContext *avctx,
}
} 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;