mirror of
https://github.com/vgmstream/vgmstream.git
synced 2025-01-29 19:37:30 +01:00
Small detection tweaks
This commit is contained in:
parent
5167cc9252
commit
bf14fccc97
@ -200,7 +200,7 @@ static mpg123_handle * init_mpg123_handle() {
|
||||
}
|
||||
|
||||
mpg123_param(m,MPG123_REMOVE_FLAGS,MPG123_GAPLESS,0.0); /* wonky support */
|
||||
mpg123_param(m,MPG123_RESYNC_LIMIT, -1, 0x10000); /* should be enough */
|
||||
mpg123_param(m,MPG123_RESYNC_LIMIT, -1, 0x2000); /* just in case, games shouldn't ever need this */
|
||||
|
||||
if (mpg123_open_feed(m) != MPG123_OK) {
|
||||
goto fail;
|
||||
|
@ -25,7 +25,7 @@ VGMSTREAM * init_vgmstream_ffmpeg_offset(STREAMFILE *streamFile, uint64_t start,
|
||||
// goto fail;
|
||||
|
||||
/* don't try to open headers and other mini files */
|
||||
if (get_streamfile_size(streamFile) <= 0x100)
|
||||
if (get_streamfile_size(streamFile) <= 0x1000)
|
||||
goto fail;
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user