• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags
No Tags

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

Commit MetaInfo

Revisiónb7d167da25227bddc182ab6e454a9403acf2afac (tree)
Tiempo2021-10-19 00:56:47
Autoryyagi <yyagi.dtxmania@gmai...>
Commiteryyagi

Log Message

#43056 oggのデコードでのオフセット設定ミスを修正。

Cambiar Resumen

  • delete: "FDK/\343\202\263\343\203\274\343\203\211/03.\343\202\265\343\202\246\343\203\263\343\203\211/Cogg.cs"

Diferencia incremental

--- "a/FDK/\343\202\263\343\203\274\343\203\211/03.\343\202\265\343\202\246\343\203\263\343\203\211/Cogg.cs"
+++ "b/FDK/\343\202\263\343\203\274\343\203\211/03.\343\202\265\343\202\246\343\203\263\343\203\211/Cogg.cs"
@@ -85,9 +85,9 @@ namespace FDK
8585 // samples are interleaved (chan0, chan1, chan0, chan1, etc.)
8686 // sample value range is -0.99999994f to 0.99999994f unless vorbis.ClipSamples == false
8787
88- if (Dest.Length + offset < p + cnt * 4)
88+ if (Dest.Length < p + cnt * 4)
8989 {
90- cnt = (Dest.Length +(int) offset - p) / 4;
90+ cnt = (Dest.Length - p) / 4;
9191 bEnd = true;
9292 }
9393 Buffer.BlockCopy(readBuffer, 0, Dest, p, cnt * 4);