mirror of
https://github.com/vgmstream/vgmstream.git
synced 2025-01-18 07:44:43 +01:00
Use meta_MP4 for MP4 FFmpeg too, so no need to ifdef
This commit is contained in:
parent
f87284026a
commit
94572fede5
@ -980,10 +980,8 @@ static const meta_info meta_info_list[] = {
|
|||||||
{meta_EA_WVE_AU00, "Electronic Arts WVE (au00) header"},
|
{meta_EA_WVE_AU00, "Electronic Arts WVE (au00) header"},
|
||||||
{meta_EA_WVE_AD10, "Electronic Arts WVE (Ad10) header"},
|
{meta_EA_WVE_AD10, "Electronic Arts WVE (Ad10) header"},
|
||||||
{meta_STHD, "Dream Factory STHD header"},
|
{meta_STHD, "Dream Factory STHD header"},
|
||||||
|
{meta_MP4, "MP4/AAC header"},
|
||||||
|
|
||||||
#ifdef VGM_USE_MP4V2
|
|
||||||
{meta_MP4, "AAC header"},
|
|
||||||
#endif
|
|
||||||
#ifdef VGM_USE_FFMPEG
|
#ifdef VGM_USE_FFMPEG
|
||||||
{meta_FFmpeg, "FFmpeg supported file format"},
|
{meta_FFmpeg, "FFmpeg supported file format"},
|
||||||
#endif
|
#endif
|
||||||
|
@ -240,7 +240,7 @@ VGMSTREAM * init_vgmstream_mp4_aac_ffmpeg(STREAMFILE *streamFile) {
|
|||||||
vgmstream->codec_data = ffmpeg_data;
|
vgmstream->codec_data = ffmpeg_data;
|
||||||
vgmstream->coding_type = coding_FFmpeg;
|
vgmstream->coding_type = coding_FFmpeg;
|
||||||
vgmstream->layout_type = layout_none;
|
vgmstream->layout_type = layout_none;
|
||||||
vgmstream->meta_type = meta_FFmpeg;
|
vgmstream->meta_type = meta_MP4;
|
||||||
|
|
||||||
vgmstream->num_samples = ffmpeg_data->totalSamples;
|
vgmstream->num_samples = ffmpeg_data->totalSamples;
|
||||||
vgmstream->sample_rate = ffmpeg_data->sampleRate;
|
vgmstream->sample_rate = ffmpeg_data->sampleRate;
|
||||||
|
@ -665,10 +665,8 @@ typedef enum {
|
|||||||
meta_EA_WVE_AU00, /* Electronic Arts PS movies [Future Cop - L.A.P.D. (PS), Supercross 2000 (PS)] */
|
meta_EA_WVE_AU00, /* Electronic Arts PS movies [Future Cop - L.A.P.D. (PS), Supercross 2000 (PS)] */
|
||||||
meta_EA_WVE_AD10, /* Electronic Arts PS movies [Wing Commander 3/4 (PS)] */
|
meta_EA_WVE_AD10, /* Electronic Arts PS movies [Wing Commander 3/4 (PS)] */
|
||||||
meta_STHD, /* STHD .stx [Kakuto Chojin (Xbox)] */
|
meta_STHD, /* STHD .stx [Kakuto Chojin (Xbox)] */
|
||||||
|
meta_MP4, /* MP4/AAC */
|
||||||
|
|
||||||
#ifdef VGM_USE_MP4V2
|
|
||||||
meta_MP4, /* AAC (iOS) */
|
|
||||||
#endif
|
|
||||||
#ifdef VGM_USE_FFMPEG
|
#ifdef VGM_USE_FFMPEG
|
||||||
meta_FFmpeg,
|
meta_FFmpeg,
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user