mirror of
https://github.com/nu774/fdkaac.git
synced 2025-06-05 23:29:14 +02:00
Compare commits
3 Commits
Author | SHA1 | Date | |
---|---|---|---|
43ab433178 | |||
47c164c85a | |||
d52b8bbf13 |
@ -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);
|
||||||
|
@ -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;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user