25 lines
776 B
Diff
Executable File
25 lines
776 B
Diff
Executable File
diff --git a/libfaad/decoder.c b/libfaad/decoder.c
|
|
index 4f4b011..9bed248 100644
|
|
--- a/libfaad/decoder.c
|
|
+++ b/libfaad/decoder.c
|
|
@@ -239,7 +239,7 @@ static int latmCheck(latm_header *latm, bitfile *ld)
|
|
while (ld->bytes_left)
|
|
{
|
|
bits = faad_latm_frame(latm, ld);
|
|
- if(bits==-1U)
|
|
+ if(bits==0xFFFFFFFF)
|
|
bad++;
|
|
else
|
|
{
|
|
diff --git a/libfaad/syntax.c b/libfaad/syntax.c
|
|
index c992543..be8c541 100644
|
|
--- a/libfaad/syntax.c
|
|
+++ b/libfaad/syntax.c
|
|
@@ -2644,5 +2644,5 @@ uint32_t faad_latm_frame(latm_header *latm, bitfile *ld)
|
|
return (len*8)-(endpos-initpos);
|
|
//faad_getbits(ld, initpos-endpos); //go back to initpos, but is valid a getbits(-N) ?
|
|
}
|
|
- return -1U;
|
|
+ return 0xFFFFFFFF;
|
|
}
|