Browse Source

Use int-size types instead of char where it makes no difference.

Originally committed as revision 19060 to svn://svn.ffmpeg.org/ffmpeg/trunk
tags/v0.6
Reimar Döffinger 16 years ago
parent
commit
7c20421661
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      libavcodec/lcldec.c

+ 2
- 2
libavcodec/lcldec.c View File

@@ -81,8 +81,8 @@ static unsigned int mszh_decomp(const unsigned char * srcptr, int srclen, unsign
unsigned char *destptr_bak = destptr;
unsigned char *destptr_end = destptr + destsize;
const unsigned char *srcptr_end = srcptr + srclen;
unsigned char mask = *srcptr++;
unsigned char maskbit = 0x80;
unsigned mask = *srcptr++;
unsigned maskbit = 0x80;
unsigned int ofs, cnt;

while (srcptr < srcptr_end && destptr < destptr_end) {


Loading…
Cancel
Save