mirror of
https://github.com/vgmstream/vgmstream.git
synced 2025-01-17 23:36:41 +01:00
Updates for MP4
This commit is contained in:
parent
48c482bb72
commit
987641d866
@ -791,6 +791,9 @@ static const coding_info coding_info_list[] = {
|
||||
#ifdef VGM_USE_FFMPEG
|
||||
{coding_FFmpeg, "FFmpeg"},
|
||||
#endif
|
||||
#ifdef VGM_USE_FDKAAC
|
||||
{coding_MP4_AAC, "MPEG-4 AAC"},
|
||||
#endif
|
||||
};
|
||||
|
||||
static const layout_info layout_info_list[] = {
|
||||
|
@ -98,8 +98,6 @@ VGMSTREAM * init_vgmstream_mp4_aac_offset(STREAMFILE *streamFile, uint64_t start
|
||||
aac_file->h_aacdecoder = aacDecoder_Open( TT_MP4_RAW, 1 );
|
||||
if ( !aac_file->h_aacdecoder ) goto fail;
|
||||
|
||||
aacDecoder_SetParam( aac_file->h_aacdecoder, AAC_PCM_OUTPUT_CHANNELS, 2 );
|
||||
|
||||
MP4GetTrackESConfiguration( aac_file->h_mp4file, aac_file->track_id, (uint8_t**)(&buffer), (uint32_t*)(&buffer_size));
|
||||
|
||||
ubuffer_size = buffer_size;
|
||||
|
Loading…
x
Reference in New Issue
Block a user