mirror of
https://github.com/vgmstream/vgmstream.git
synced 2025-01-29 19:37:30 +01:00
Update bik FFmpeg init
This commit is contained in:
parent
be8357926d
commit
4bb1103e3d
@ -34,8 +34,11 @@ VGMSTREAM * init_vgmstream_bik(STREAMFILE *streamFile) {
|
||||
|
||||
#ifdef VGM_USE_FFMPEG
|
||||
{
|
||||
/* init_FFmpeg uses streamFile->stream_index internally, if specified */
|
||||
vgmstream->codec_data = init_ffmpeg_offset_index(streamFile, 0x0, get_streamfile_size(streamFile), stream_index);
|
||||
ffmpeg_custom_config cfg;
|
||||
memset(&cfg, 0, sizeof(ffmpeg_custom_config));
|
||||
cfg.stream_index = stream_index;
|
||||
|
||||
vgmstream->codec_data = init_ffmpeg_config(streamFile, NULL,0, 0x0,get_streamfile_size(streamFile), &cfg);
|
||||
if (!vgmstream->codec_data) goto fail;
|
||||
vgmstream->coding_type = coding_FFmpeg;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user