Fix it so it compiles

This commit is contained in:
Chris Moeller 2015-02-13 16:49:29 -08:00
parent 4dcb647b67
commit 2ff56989b1

View File

@ -3396,13 +3396,13 @@ int get_vgmstream_average_bitrate(VGMSTREAM * vgmstream)
streamFile = get_vgmstream_streamfile(vgmstream, i); streamFile = get_vgmstream_streamfile(vgmstream, i);
if (!streamFile) if (!streamFile)
continue; continue;
ch->streamfile->get_name(streamFile, path_current, sizeof(path_current)); streamFile->get_name(streamFile, path_current, sizeof(path_current));
for (j = 0; j < i; ++j) for (j = 0; j < i; ++j)
{ {
STREAMFILE * compareFile = get_vgmstream_streamfile(vgmstream, j); STREAMFILE * compareFile = get_vgmstream_streamfile(vgmstream, j);
if (!compareFile) if (!compareFile)
continue; continue;
chc->streamfile->get_name(compareFile, path_compare, sizeof(path_compare)); streamFile->get_name(compareFile, path_compare, sizeof(path_compare));
if (!strcmp(path_current, path_compare)) if (!strcmp(path_current, path_compare))
break; break;
} }