Fix missing equals sign in PS3 MSF.

git-svn-id: https://vgmstream.svn.sourceforge.net/svnroot/vgmstream@979 51a99a44-fe44-0410-b1ba-c3e57ba2b86b
This commit is contained in:
snakemeat 2012-05-16 02:43:55 +00:00
parent 230eff72e6
commit 8202441041

View File

@ -76,7 +76,7 @@ VGMSTREAM * init_vgmstream_ps3_msf(STREAMFILE *streamFile) {
vgmstream->coding_type = coding_PSX;
vgmstream->num_samples = read_32bitBE(0x0C,streamFile)*28/16/channel_count;
if (vgmstream->num_samples = 0xFFFFFFFF)
if (vgmstream->num_samples == 0xFFFFFFFF)
{
vgmstream->num_samples = (fileLength - start_offset)*28/16/channel_count;
}