Update source to Armbian-dev-202610.A311Y3

This commit is contained in:
2026-11-11 08:50:43 +08:00
parent 3428a94f6b
commit f459ef6a9e
12514 changed files with 2264376 additions and 468481 deletions
+6 -1
View File
@@ -420,8 +420,13 @@ retry:
gFaadCxt->success_count++;
in_buf += skipbytes;
inbuf_size -= skipbytes;
if (gFaadCxt->success_count < 2)
if (gFaadCxt->success_count < 2) {
/* close current decoder before retry, otherwise it is leaked
when NeAACDecOpen() overwrites gFaadCxt->hDecoder */
NeAACDecClose(gFaadCxt->hDecoder);
gFaadCxt->hDecoder = NULL;
goto retry;
}
}
in_buf += ret;
inbuf_size -= ret;
+9
View File
@@ -193,6 +193,15 @@ void sbrDecodeEnd(sbr_info *sbr)
}
#endif
if (sbr->process_buf) {
faad_free(sbr->process_buf);
sbr->process_buf = NULL;
}
if (sbr->process_buf2) {
faad_free(sbr->process_buf2);
sbr->process_buf2 = NULL;
}
faad_free(sbr);
}
}