mirror of
https://github.com/vgmstream/vgmstream.git
synced 2024-11-28 08:20:54 +01:00
Don't open streamfile for coding_OGG_VORBIS
This commit is contained in:
parent
272aa78d45
commit
f0151cc26f
@ -2816,6 +2816,12 @@ int vgmstream_open_stream(VGMSTREAM * vgmstream, STREAMFILE *streamFile, off_t s
|
||||
vgmstream->coding_type == coding_CRI_HCA)
|
||||
return 1;
|
||||
|
||||
#ifdef VGM_USE_VORBIS
|
||||
/* stream/offsets not needed, managed by decoder */
|
||||
if (vgmstream->coding_type == coding_OGG_VORBIS)
|
||||
return 1;
|
||||
#endif
|
||||
|
||||
#ifdef VGM_USE_FFMPEG
|
||||
/* stream/offsets not needed, managed by decoder */
|
||||
if (vgmstream->coding_type == coding_FFmpeg)
|
||||
|
Loading…
Reference in New Issue
Block a user