1
0
mirror of https://github.com/nu774/fdkaac.git synced 2025-06-05 23:29:14 +02:00

3 Commits

Author SHA1 Message Date
3bf454a5a3 bump 2023-02-15 20:57:33 +09:00
22dbf72491 fixes https://github.com/nu774/fdkaac/issues/55 2023-02-15 20:56:33 +09:00
03c3c60191 updateChangeLog 2022-08-04 21:16:14 +09:00
4 changed files with 23 additions and 5 deletions

View File

@ -1,12 +1,24 @@
2022-07-13 nu774 <honeycomb77@gmail.com>
2022-08-04 nu774 <honeycomb77@gmail.com>
* bump [HEAD -> master]
* fdk-aac.vcxproj: support vs2022
* extrapolater: don't return more samples than required
* wav/caf parser: add format checks
2022-07-13 nu774 <honeycomb77@gmail.com>
* update ChangeLog [origin/master]
* bump [v1.0.3]
* wav/caf parser: ensure fmt/desc chunk
2021-11-15 nu774 <honeycomb77@gmail.com>
* vcxproj: support Visual Studio 2022 [origin/master]
* vcxproj: support Visual Studio 2022
2021-04-23 nu774 <honeycomb77@gmail.com>

View File

@ -105,10 +105,14 @@ int caf_info(caf_reader_t *reader, int64_t chunk_size)
{
char *buf, *key, *val, *end;
size_t len;
int n;
if (chunk_size < 4 || (buf = malloc(chunk_size)) == 0)
if (chunk_size < 4 || (buf = malloc(chunk_size+1)) == 0)
return -1;
pcm_read(&reader->io, buf, chunk_size);
n = pcm_read(&reader->io, buf, chunk_size);
if (n != chunk_size)
return -1;
buf[n] = 0;
key = buf + 4;
end = buf + chunk_size;
do {

View File

@ -60,6 +60,8 @@ int pcm_skip(pcm_io_context_t *io, int64_t count)
if (count == 0 || pcm_seek(io, count, SEEK_CUR) >= 0)
return 0;
if (count < 0)
return -1;
do {
if ((rc = vp->read(io->cookie, buff, count > 8192 ? 8192 : count)) > 0)
count -= rc;

View File

@ -1,4 +1,4 @@
#ifndef VERSION_H
#define VERSION_H
const char *fdkaac_version = "1.0.4";
const char *fdkaac_version = "1.0.5";
#endif