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
43ab433178 bump version 2013-01-15 21:20:18 +09:00
47c164c85a fix return type of put_type_entry() to void 2013-01-15 21:19:32 +09:00
d52b8bbf13 add ADTS header size(7) to output byte length 2013-01-15 21:18:31 +09:00
3 changed files with 3 additions and 3 deletions

View File

@ -142,7 +142,7 @@ int aac_encode_frame(HANDLE_AACENCODER encoder,
unsigned channel_mode, obytes; unsigned channel_mode, obytes;
channel_mode = aacEncoder_GetParam(encoder, AACENC_CHANNELMODE); channel_mode = aacEncoder_GetParam(encoder, AACENC_CHANNELMODE);
obytes = 6144 / 8 * channel_mode; obytes = 6144 / 8 * channel_mode + 7;
if (!*output || *osize < obytes) { if (!*output || *osize < obytes) {
*osize = obytes; *osize = obytes;
*output = realloc(*output, obytes); *output = realloc(*output, obytes);

View File

@ -470,7 +470,7 @@ END:
} }
static static
int put_tag_entry(m4af_writer_t *m4af, const aacenc_tag_entry_t *tag) void put_tag_entry(m4af_writer_t *m4af, const aacenc_tag_entry_t *tag)
{ {
unsigned m, n = 0; unsigned m, n = 0;

View File

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