Merge pull request #43 from janisozaur/uint Use unsigned integers correctly
Fabian Greffrath authored
4 years ago
GitHub committed
4 years ago
2 changed file(s) with
3 addition(s)
and
3 deletion(s)
.
Raw diff
Collapse all
Expand all
+1
-1
libfaad/decoder.c
less
more
238
238
while (ld->bytes_left)
239
239
{
240
240
bits = faad_latm_frame(latm, ld);
241
if(bits==-1U)
241
if(bits==0xFFFFFFFF)
242
242
bad++;
243
243
else
244
244
{
+2
-2
libfaad/syntax.c
less
more
2643
2643
return (len*8)-(endpos-initpos);
2644
2644
//faad_getbits(ld, initpos-endpos); //go back to initpos, but is valid a getbits(-N) ?
2645
2645
}
2646
return -1U;
2647
}
2646
return 0xFFFFFFFF;
2647
}