OSDN Git Service
(root)
/
dtxmania
/
dtxmania.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
af8268d
)
#xxxxx 音源ファイルが0byteだったときにmp3パーサを通ると例外発生していたのを修正。
author
yyagi
<yyagi.dtxmania@gmail.com>
Sun, 26 Sep 2021 17:17:38 +0000
(
02:17
+0900)
committer
yyagi
<yyagi.dtxmania@gmail.com>
Sun, 26 Sep 2021 17:17:38 +0000
(
02:17
+0900)
FDK/コード/03.サウンド/Cmp3.cs
patch
|
blob
|
history
diff --git
a/FDK/コード/03.サウンド/Cmp3.cs
b/FDK/コード/03.サウンド/Cmp3.cs
index
1b729d5
..
25ebc2c
100644
(file)
--- a/
FDK/コード/03.サウンド/Cmp3.cs
+++ b/
FDK/コード/03.サウンド/Cmp3.cs
@@
-27,6
+27,7
@@
namespace FDK
{
BASSError be = Bass.BASS_ErrorGetCode();
Trace.TraceInformation("Cmp3: StreamCreateFile error: " + be.ToString());
+ return 0;
}
nTotalPCMSize = Bass.BASS_ChannelGetLength(stream_in);