Warning fix. Uninitialized variable shouldn't have happened because it'd mean header was corrupt...?

This commit is contained in:
Myria committed 2017-06-03 10:17:27 -07:00
1 parent c629eb35f1
commit 4d5d9582a2
1 file changed
+2
+2
View File
@@ -814,6 +814,8 @@ int cwav_pcm_setup(cwav_pcmstate* state, cwav_context* ctx, int isloop)
startoffset = getle32(ctx->infoheader.loopstart);
else if (ctx->infoheader.encoding == CWAV_ENCODING_PCM16)
startoffset = getle32(ctx->infoheader.loopstart) * 2;
else
startoffset = 0;
}
else
{