[SCM] libav/experimental: Use int8_t instead of char, the signedness of char can differ between systems.
siretart at users.alioth.debian.org
siretart at users.alioth.debian.org
Sun Jun 30 16:59:51 UTC 2013
The following commit has been merged in the experimental branch:
commit 9f1d760a278f59a015acbc3d432f0fddff57604e
Author: Reimar Döffinger <Reimar.Doeffinger at gmx.de>
Date: Fri Feb 12 18:18:35 2010 +0000
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
diff --git a/libavcodec/iff.c b/libavcodec/iff.c
index 7323f9b..e3ce6c1 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;
--
Libav/FFmpeg packaging
More information about the pkg-multimedia-commits
mailing list